Skip to content

PURISTA API / Modules / @purista/core / StatusCode

Enumeration: StatusCode

@purista/core.StatusCode

Message and error status codes. The codes are based on HTTP status codes

Table of contents

Enumeration Members

Enumeration Members

Accepted

Accepted = 202

Defined in

core/types/StatusCode.enum.ts:11


AlreadyReported

AlreadyReported = 208

Defined in

core/types/StatusCode.enum.ts:17


BadGateway

BadGateway = 502

Defined in

core/types/StatusCode.enum.ts:63


BadRequest

BadRequest = 400

Defined in

core/types/StatusCode.enum.ts:30


BandwidthLimitExceeded

BandwidthLimitExceeded = 509

Defined in

core/types/StatusCode.enum.ts:70


Conflict

Conflict = 409

Defined in

core/types/StatusCode.enum.ts:39


Created

Created = 201

Defined in

core/types/StatusCode.enum.ts:10


ExpectationFailed

ExpectationFailed = 417

Defined in

core/types/StatusCode.enum.ts:47


Forbidden

Forbidden = 403

Defined in

core/types/StatusCode.enum.ts:33


GatewayTimeout

GatewayTimeout = 504

Defined in

core/types/StatusCode.enum.ts:65


Gone

Gone = 410

Defined in

core/types/StatusCode.enum.ts:40


HTTPVersionNotSupported

HTTPVersionNotSupported = 505

Defined in

core/types/StatusCode.enum.ts:66


IMUsed

IMUsed = 229

Defined in

core/types/StatusCode.enum.ts:18


ImATeapot

ImATeapot = 418

Defined in

core/types/StatusCode.enum.ts:48


InfoContinue

InfoContinue = 100

Defined in

core/types/StatusCode.enum.ts:6


InfoProcessing

InfoProcessing = 102

Defined in

core/types/StatusCode.enum.ts:8


InfoSwitchingProtocols

InfoSwitchingProtocols = 101

Defined in

core/types/StatusCode.enum.ts:7


InsufficientStorage

InsufficientStorage = 507

Defined in

core/types/StatusCode.enum.ts:68


InternalServerError

InternalServerError = 500

Defined in

core/types/StatusCode.enum.ts:61


InvalidToken

InvalidToken = 498

Defined in

core/types/StatusCode.enum.ts:59


LengthRequired

LengthRequired = 411

Defined in

core/types/StatusCode.enum.ts:41


Locked

Locked = 423

Defined in

core/types/StatusCode.enum.ts:51


LoginTimeOut

LoginTimeOut = 440

Defined in

core/types/StatusCode.enum.ts:56


LoopDetected

LoopDetected = 508

Defined in

core/types/StatusCode.enum.ts:69


MethodNotAllowed

MethodNotAllowed = 405

Defined in

core/types/StatusCode.enum.ts:35


MisdirectedRequest

MisdirectedRequest = 421

Defined in

core/types/StatusCode.enum.ts:49


MultiStatus

MultiStatus = 207

Defined in

core/types/StatusCode.enum.ts:16


NetworkAuthRequired

NetworkAuthRequired = 511

Defined in

core/types/StatusCode.enum.ts:72


NoContent

NoContent = 204

Defined in

core/types/StatusCode.enum.ts:13


NonAuthoritativeInfo

NonAuthoritativeInfo = 203

Defined in

core/types/StatusCode.enum.ts:12


NotAcceptable

NotAcceptable = 406

Defined in

core/types/StatusCode.enum.ts:36


NotExtended

NotExtended = 510

Defined in

core/types/StatusCode.enum.ts:71


NotFound

NotFound = 404

Defined in

core/types/StatusCode.enum.ts:34


NotImplemented

NotImplemented = 501

Defined in

core/types/StatusCode.enum.ts:62


OK

OK = 200

Defined in

core/types/StatusCode.enum.ts:9


PartialContent

PartialContent = 206

Defined in

core/types/StatusCode.enum.ts:15


PayloadTooLarge

PayloadTooLarge = 413

Defined in

core/types/StatusCode.enum.ts:43


PaymentRequired

PaymentRequired = 402

Defined in

core/types/StatusCode.enum.ts:32


PreconditionFailed

PreconditionFailed = 412

Defined in

core/types/StatusCode.enum.ts:42


PreconditionRequired

PreconditionRequired = 428

Defined in

core/types/StatusCode.enum.ts:53


ProxyAuthRequired

ProxyAuthRequired = 407

Defined in

core/types/StatusCode.enum.ts:37


RangeNotSatisfiable

RangeNotSatisfiable = 416

Defined in

core/types/StatusCode.enum.ts:46


RedirectFound

RedirectFound = 302

Defined in

core/types/StatusCode.enum.ts:21


RedirectMovedPermanently

RedirectMovedPermanently = 301

Defined in

core/types/StatusCode.enum.ts:20


RedirectMultipleChoices

RedirectMultipleChoices = 300

Defined in

core/types/StatusCode.enum.ts:19


RedirectNotModified

RedirectNotModified = 304

Defined in

core/types/StatusCode.enum.ts:24


RedirectPermanent

RedirectPermanent = 308

Defined in

core/types/StatusCode.enum.ts:29


RedirectSeeOther

RedirectSeeOther = 303

Defined in

core/types/StatusCode.enum.ts:23


RedirectSwitchProxy

RedirectSwitchProxy = 306

Defined in

core/types/StatusCode.enum.ts:27


RedirectTemp

RedirectTemp = 307

Defined in

core/types/StatusCode.enum.ts:28


RedirectUseProxy

RedirectUseProxy = 305

Defined in

core/types/StatusCode.enum.ts:25


RequestHeaderFieldsTooLarge

RequestHeaderFieldsTooLarge = 431

Defined in

core/types/StatusCode.enum.ts:55


RequestTimeout

RequestTimeout = 408

Defined in

core/types/StatusCode.enum.ts:38


ResetContent

ResetContent = 205

Defined in

core/types/StatusCode.enum.ts:14


RetryWith

RetryWith = 449

Defined in

core/types/StatusCode.enum.ts:57


ServiceUnavailable

ServiceUnavailable = 503

Defined in

core/types/StatusCode.enum.ts:64


TokenRequired

TokenRequired = 499

Defined in

core/types/StatusCode.enum.ts:60


TooManyRequests

TooManyRequests = 429

Defined in

core/types/StatusCode.enum.ts:54


URITooLong

URITooLong = 414

Defined in

core/types/StatusCode.enum.ts:44


Unauthorized

Unauthorized = 401

Defined in

core/types/StatusCode.enum.ts:31


UnavailableForLegalReasons

UnavailableForLegalReasons = 451

Defined in

core/types/StatusCode.enum.ts:58


UnprocessableEntity

UnprocessableEntity = 422

Defined in

core/types/StatusCode.enum.ts:50


UnsupportedMediaType

UnsupportedMediaType = 415

Defined in

core/types/StatusCode.enum.ts:45


UpgradeRequired

UpgradeRequired = 426

Defined in

core/types/StatusCode.enum.ts:52


VariantAlsoNegotiates

VariantAlsoNegotiates = 506

Defined in

core/types/StatusCode.enum.ts:67