Skip to content

Commit

Permalink
Merge pull request #5 from naseif/dev_tele-ts
Browse files Browse the repository at this point in the history
fix(API): Added error handling and type checking for all methods
  • Loading branch information
naseif committed Mar 16, 2022
2 parents 31572bc + 8650dde commit 6bd7c9e
Show file tree
Hide file tree
Showing 3 changed files with 382 additions and 64 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
"mime-types": "^2.1.34",
"needle": "^3.0.0"
}
}
}
2 changes: 1 addition & 1 deletion src/helpers/ErrorsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export enum Errors {
INVALID_EVENT = "Invalid Event",
}

export class ErrosController extends Error {
export class ErrorsController extends Error {
/**
* The error message
*/
Expand Down
Loading

0 comments on commit 6bd7c9e

Please sign in to comment.