Skip to content

Commit

Permalink
feat: add generic error obj for disabled routes
Browse files Browse the repository at this point in the history
  • Loading branch information
swalahamani committed Mar 24, 2024
1 parent ff8f37d commit 83075f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/constants/errors/genericServiceErrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ const genericServiceErrors = asTypeIServiceError({
},

errors: {
RouteDisabled: {
error: "RouteDisabled",
message: "This route is temporarily disabled.",
},

ResourceNotFound: {
error: "ResourceNotFound",

Expand Down

0 comments on commit 83075f4

Please sign in to comment.