We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbf0784 commit 1d2a982Copy full SHA for 1d2a982
1 file changed
lib/response.js
@@ -33,6 +33,9 @@ var response = {
33
errorNotFound: function (res) {
34
responseError(res, "404", "Not Found", "oops.");
35
},
36
+ errorBadRequest: function (res) {
37
+ responseError(res, "400", "Bad Request", "something not right.");
38
+ },
39
errorInternalError: function (res) {
40
responseError(res, "500", "Internal Error", "wtf.");
41
0 commit comments