UNPKG

@geniucode/common-utils

Version:

Common utils

32 lines (31 loc) 1.3 kB
export declare class ErrorStatusCode { static get badRequest(): number; static get databaseConnection(): number; static get duplicateIdConflict(): number; static get duplicatedIdConflict(): number; static get accessDenied(): number; static get forbidden(): number; static get internalServer(): number; static get paymentRequired(): number; static get notFound(): number; static get itemNotFound(): number; static get Unauthorized(): number; static get notAuthorized(): number; static get requestValidationAsArray(): number; static get requestValidation(): number; static get requestValidationWithMessage(): number; static get requestMethodNotAllowed(): number; static get invalidHttpMethod(): number; static get wrongHttpMethod(): number; static get proxyAuthRequired(): number; static get PAYLOAD_TOO_LARGE(): number; static get largePayload(): number; static get unsupportedMediaType(): number; static get requestTimeout(): number; static get gatewayTimeout(): number; static get serviceUnavailable(): number; static get tooManyRequests(): number; static get notImplemented(): number; static get protocolUpgradeRequired(): number; static get httpVersionNotSupported(): number; }