Skip to content

Commit

Permalink
Add NoConnection error
Browse files Browse the repository at this point in the history
  • Loading branch information
yura-chaikovsky authored Oct 23, 2017
1 parent bb630b9 commit fe022c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/errors/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
const errors = {
NotFound: "Entity not found",
Database: "Database error",
Fatal: "Dominion Fatal Error",
Validation: "Validation Error",
Fatal: "Fatal error",
Validation: "Validation error",
BadRequest: "Bad request",
Unauthorized: "Unauthorized",
Forbidden: "Forbidden",
Conflict: "Conflict"
Conflict: "Conflict",
NoConnection: "Connection error"
};

Object.keys(errors).forEach((errorType) => {
Expand Down

0 comments on commit fe022c7

Please sign in to comment.