@daisugi/kintsugi
Version:
Kintsugi is a set of utilities to help build a fault tolerant services.
78 lines • 3.57 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Code = void 0;
/** Based on https://deno.land/std@0.102.0/http/http_status.ts */
var Code;
(function (Code) {
Code["Continue"] = "Continue";
Code["SwitchingProtocols"] = "SwitchingProtocols";
Code["Processing"] = "Processing";
Code["EarlyHints"] = "EarlyHints";
Code["OK"] = "OK";
Code["Created"] = "Created";
Code["Accepted"] = "Accepted";
Code["NonAuthoritativeInfo"] = "NonAuthoritativeInfo";
Code["NoContent"] = "NoContent";
Code["ResetContent"] = "ResetContent";
Code["PartialContent"] = "PartialContent";
Code["MultiStatus"] = "MultiStatus";
Code["AlreadyReported"] = "AlreadyReported";
Code["IMUsed"] = "IMUsed";
Code["MultipleChoices"] = "MultipleChoices";
Code["MovedPermanently"] = "MovedPermanently";
Code["Found"] = "Found";
Code["SeeOther"] = "SeeOther";
Code["NotModified"] = "NotModified";
Code["UseProxy"] = "UseProxy";
Code["TemporaryRedirect"] = "TemporaryRedirect";
Code["PermanentRedirect"] = "PermanentRedirect";
Code["BadRequest"] = "BadRequest";
Code["Unauthorized"] = "Unauthorized";
Code["PaymentRequired"] = "PaymentRequired";
Code["Forbidden"] = "Forbidden";
Code["NotFound"] = "NotFound";
Code["MethodNotAllowed"] = "MethodNotAllowed";
Code["NotAcceptable"] = "NotAcceptable";
Code["ProxyAuthRequired"] = "ProxyAuthRequired";
Code["RequestTimeout"] = "RequestTimeout";
Code["Conflict"] = "Conflict";
Code["Gone"] = "Gone";
Code["LengthRequired"] = "LengthRequired";
Code["PreconditionFailed"] = "PreconditionFailed";
Code["RequestEntityTooLarge"] = "RequestEntityTooLarge";
Code["RequestURITooLong"] = "RequestURITooLong";
Code["UnsupportedMediaType"] = "UnsupportedMediaType";
Code["RequestedRangeNotSatisfiable"] = "RequestedRangeNotSatisfiable";
Code["ExpectationFailed"] = "ExpectationFailed";
Code["Teapot"] = "Teapot";
Code["MisdirectedRequest"] = "MisdirectedRequest";
Code["UnprocessableEntity"] = "UnprocessableEntity";
Code["Locked"] = "Locked";
Code["FailedDependency"] = "FailedDependency";
Code["TooEarly"] = "TooEarly";
Code["UpgradeRequired"] = "UpgradeRequired";
Code["PreconditionRequired"] = "PreconditionRequired";
Code["TooManyRequests"] = "TooManyRequests";
Code["RequestHeaderFieldsTooLarge"] = "RequestHeaderFieldsTooLarge";
Code["UnavailableForLegalReasons"] = "UnavailableForLegalReasons";
Code["InternalServerError"] = "InternalServerError";
Code["NotImplemented"] = "NotImplemented";
Code["BadGateway"] = "BadGateway";
Code["ServiceUnavailable"] = "ServiceUnavailable";
Code["GatewayTimeout"] = "GatewayTimeout";
Code["HTTPVersionNotSupported"] = "HTTPVersionNotSupported";
Code["VariantAlsoNegotiates"] = "VariantAlsoNegotiates";
Code["InsufficientStorage"] = "InsufficientStorage";
Code["LoopDetected"] = "LoopDetected";
Code["NotExtended"] = "NotExtended";
Code["NetworkAuthenticationRequired"] = "NetworkAuthenticationRequired";
Code["UnexpectedError"] = "UnexpectedError";
Code["CircuitSuspended"] = "CircuitSuspended";
Code["Timeout"] = "Timeout";
Code["StopPropagation"] = "StopPropagation";
Code["Fail"] = "Fail";
Code["InvalidArgument"] = "InvalidArgument";
Code["ValidationFailed"] = "ValidationFailed";
Code["CircularDependencyDetected"] = "CircularDependencyDetected";
})(Code || (exports.Code = Code = {}));
//# sourceMappingURL=code.js.map