StatusCode extension type
- on
Constructors
- StatusCode.new(int value)
Properties
- isFailed → bool
-
True for failed requests (i.e. neither successful nor pending)
no setter
- isPending → bool
-
True for the requests processed asynchronously.
@see https://jsonapi.org/recommendations/#asynchronous-processing).
no setter
- isSuccessful → bool
-
True for successfully processed requests
no setter
- value → int
-
final
Constants
- accepted → const int
- badRequest → const int
- conflict → const int
- created → const int
- internalServerError → const int
- methodNotAllowed → const int
- noContent → const int
- notAcceptable → const int
- notFound → const int
- ok → const int
- unsupportedMediaType → const int