Skip to content

Commit

Permalink
⚙️ Chore(myErrorHandler.ts): fix problem in build
Browse files Browse the repository at this point in the history
  • Loading branch information
INeedJobToStartWork committed Aug 5, 2024
1 parent 64e4f38 commit a207e96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/myErrorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import { myErrorWrapper } from ".";
const ErrorList = {
noKeyInList: {
code: "EH001",
name: "Not found key in list",
message: { dev: "errorName (key) not found in errorSolutions (object)" },
hint: { dev: "Check if errorName is in errorSolutions" }
},
executionError: {
code: "EH002",
name: "Error in Execution",
message: { dev: "Error in execution of Solution" },
hint: { dev: "Check if the function `errorSolutions[errorName]()` is working properly " }
}
Expand Down

0 comments on commit a207e96

Please sign in to comment.