Skip to content

Commit

Permalink
Reorganize error exports
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed May 17, 2024
1 parent 12864af commit 14f6ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions 3_errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
import { Api } from "./2_tl.ts";
import { MtkrutoError } from "./0_errors.ts";

export * from "./0_errors.ts";

export interface TelegramErrorParams {
error_code: number;
error_message: string;
Expand Down
1 change: 0 additions & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

export * from "./0_errors.ts";
export { getColorFromPeerId, getColorName, getRandomId, type LoggingProvider, setLoggingProvider, setLogVerbosity } from "./1_utilities.ts";
export { checkPassword } from "./client/0_password.ts";

Expand Down

0 comments on commit 14f6ef4

Please sign in to comment.