Preparing search index...
The search index is not available
augment-vir - v31.10.1
augment-vir
isErrorHttpStatus
Function isErrorHttpStatus
isErrorHttpStatus
(
input
:
HttpStatus
,
)
:
input
is
|
BadRequest
|
Unauthorized
|
PaymentRequired
|
Forbidden
|
NotFound
|
MethodNotAllowed
|
NotAcceptable
|
ProxyAuthenticationRequired
|
RequestTimeout
|
Conflict
|
Gone
|
LengthRequired
|
PreconditionFailed
|
PayloadTooLarge
|
UriTooLong
|
UnsupportedMediaType
|
RangeNotSatisfiable
|
ExpectationFailed
|
ImATeapot
|
MisdirectedRequest
|
UnprocessableContent
|
Locked
|
FailedDependency
|
TooEarly
|
UpgradeRequired
|
PreconditionRequired
|
TooManyRequests
|
RequestHeaderFieldsTooLarge
|
UnavailableForLegalReasons
|
InternalServerError
|
NotImplemented
|
BadGateway
|
ServiceUnavailable
|
GatewayTimeout
|
HttpVersionNotSupported
|
VariantAlsoNegotiates
|
InsufficientStorage
|
LoopDetected
|
NotExtended
|
NetworkAuthenticationRequired
Checks if the given HTTP status is an error status. Type guards the input.
Parameters
input
:
HttpStatus
Returns
input
is
|
BadRequest
|
Unauthorized
|
PaymentRequired
|
Forbidden
|
NotFound
|
MethodNotAllowed
|
NotAcceptable
|
ProxyAuthenticationRequired
|
RequestTimeout
|
Conflict
|
Gone
|
LengthRequired
|
PreconditionFailed
|
PayloadTooLarge
|
UriTooLong
|
UnsupportedMediaType
|
RangeNotSatisfiable
|
ExpectationFailed
|
ImATeapot
|
MisdirectedRequest
|
UnprocessableContent
|
Locked
|
FailedDependency
|
TooEarly
|
UpgradeRequired
|
PreconditionRequired
|
TooManyRequests
|
RequestHeaderFieldsTooLarge
|
UnavailableForLegalReasons
|
InternalServerError
|
NotImplemented
|
BadGateway
|
ServiceUnavailable
|
GatewayTimeout
|
HttpVersionNotSupported
|
VariantAlsoNegotiates
|
InsufficientStorage
|
LoopDetected
|
NotExtended
|
NetworkAuthenticationRequired
Package
@augment-vir/common
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
augment-vir - v31.10.1
Loading...
Checks if the given HTTP status is an error status. Type guards the input.