@fega01/app-error
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -27,1 +27,2 @@ export interface AppErrorObject { | ||
export declare const FORBIDDEN: AppErrorObject; | ||
export declare const BODY_IS_EMPTY: AppErrorObject; |
@@ -44,2 +44,7 @@ "use strict"; | ||
}; | ||
exports.BODY_IS_EMPTY = { | ||
code: "BODY_IS_EMPTY", | ||
status: http_status_1.BAD_REQUEST, | ||
message: "Body cannot be empty", | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@fega01/app-error", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A nice controller based on Proxies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -54,2 +54,7 @@ import { BAD_REQUEST as BR, NOT_FOUND as NF, UNAUTHORIZED as UNA, FORBIDDEN as F } from "http-status"; | ||
message: "Access Denied" | ||
}; | ||
export const BODY_IS_EMPTY: AppErrorObject = { | ||
code: "BODY_IS_EMPTY", | ||
status: BR, | ||
message: "Body cannot be empty", | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8450
225