fenextjs-interface
Advanced tools
Comparing version 1.0.21 to 1.0.22
export declare enum ErrorCode { | ||
USER_TOKEN_NOT_FOUNT = "USER_TOKEN_NOT_FOUNT", | ||
USER_TOKEN_INVALID = "USER_TOKEN_INVALID" | ||
ERROR = "ERROR", | ||
USER_TOKEN_NOT_FOUND = "USER_TOKEN_NOT_FOUND", | ||
USER_TOKEN_INVALID = "USER_TOKEN_INVALID", | ||
PAGE_NOT_FOUND = "PAGE_NOT_FOUND", | ||
SERVER_ERROR = "SERVER_ERROR", | ||
UNAUTHORIZED = "UNAUTHORIZED", | ||
FORBIDDEN = "FORBIDDEN", | ||
BAD_REQUEST = "BAD_REQUEST", | ||
TIMEOUT = "TIMEOUT", | ||
NETWORK_ERROR = "NETWORK_ERROR", | ||
DATABASE_ERROR = "DATABASE_ERROR", | ||
FILE_NOT_FOUND = "FILE_NOT_FOUND", | ||
METHOD_NOT_ALLOWED = "METHOD_NOT_ALLOWED", | ||
NOT_ACCEPTABLE = "NOT_ACCEPTABLE", | ||
REQUEST_TIMEOUT = "REQUEST_TIMEOUT", | ||
TOO_MANY_REQUESTS = "TOO_MANY_REQUESTS", | ||
INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR", | ||
NOT_IMPLEMENTED = "NOT_IMPLEMENTED", | ||
SERVICE_UNAVAILABLE = "SERVICE_UNAVAILABLE", | ||
INPUT_INVALID = "INPUT_INVALID", | ||
INPUT_REQUIRED = "INPUT_REQUIRED", | ||
INPUT_TOO_SHORT = "INPUT_TOO_SHORT", | ||
INPUT_TOO_LONG = "INPUT_TOO_LONG", | ||
INPUT_OUT_OF_RANGE = "INPUT_OUT_OF_RANGE", | ||
INPUT_PATTERN_MISMATCH = "INPUT_PATTERN_MISMATCH", | ||
INPUT_VALUE_TOO_LOW = "INPUT_VALUE_TOO_LOW", | ||
INPUT_VALUE_TOO_HIGH = "INPUT_VALUE_TOO_HIGH" | ||
} | ||
@@ -5,0 +30,0 @@ export interface ErrorProps<D = any> { |
@@ -6,5 +6,30 @@ "use strict"; | ||
(function (ErrorCode) { | ||
ErrorCode["USER_TOKEN_NOT_FOUNT"] = "USER_TOKEN_NOT_FOUNT"; | ||
ErrorCode["ERROR"] = "ERROR"; | ||
ErrorCode["USER_TOKEN_NOT_FOUND"] = "USER_TOKEN_NOT_FOUND"; | ||
ErrorCode["USER_TOKEN_INVALID"] = "USER_TOKEN_INVALID"; | ||
ErrorCode["PAGE_NOT_FOUND"] = "PAGE_NOT_FOUND"; | ||
ErrorCode["SERVER_ERROR"] = "SERVER_ERROR"; | ||
ErrorCode["UNAUTHORIZED"] = "UNAUTHORIZED"; | ||
ErrorCode["FORBIDDEN"] = "FORBIDDEN"; | ||
ErrorCode["BAD_REQUEST"] = "BAD_REQUEST"; | ||
ErrorCode["TIMEOUT"] = "TIMEOUT"; | ||
ErrorCode["NETWORK_ERROR"] = "NETWORK_ERROR"; | ||
ErrorCode["DATABASE_ERROR"] = "DATABASE_ERROR"; | ||
ErrorCode["FILE_NOT_FOUND"] = "FILE_NOT_FOUND"; | ||
ErrorCode["METHOD_NOT_ALLOWED"] = "METHOD_NOT_ALLOWED"; | ||
ErrorCode["NOT_ACCEPTABLE"] = "NOT_ACCEPTABLE"; | ||
ErrorCode["REQUEST_TIMEOUT"] = "REQUEST_TIMEOUT"; | ||
ErrorCode["TOO_MANY_REQUESTS"] = "TOO_MANY_REQUESTS"; | ||
ErrorCode["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR"; | ||
ErrorCode["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED"; | ||
ErrorCode["SERVICE_UNAVAILABLE"] = "SERVICE_UNAVAILABLE"; | ||
ErrorCode["INPUT_INVALID"] = "INPUT_INVALID"; | ||
ErrorCode["INPUT_REQUIRED"] = "INPUT_REQUIRED"; | ||
ErrorCode["INPUT_TOO_SHORT"] = "INPUT_TOO_SHORT"; | ||
ErrorCode["INPUT_TOO_LONG"] = "INPUT_TOO_LONG"; | ||
ErrorCode["INPUT_OUT_OF_RANGE"] = "INPUT_OUT_OF_RANGE"; | ||
ErrorCode["INPUT_PATTERN_MISMATCH"] = "INPUT_PATTERN_MISMATCH"; | ||
ErrorCode["INPUT_VALUE_TOO_LOW"] = "INPUT_VALUE_TOO_LOW"; | ||
ErrorCode["INPUT_VALUE_TOO_HIGH"] = "INPUT_VALUE_TOO_HIGH"; | ||
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "fenextjs-interface", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
11666
210