HttpErrorCode enum Null safety
A specification of the cause of a HttpException.
- Implemented types
Constants
- authRequired → const HttpErrorCode
-
Missing or incorrect user authentication.
const HttpErrorCode(0)
- conflict → const HttpErrorCode
-
Update conflict.
const HttpErrorCode(3)
- entityTooLarge → const HttpErrorCode
-
Data is too large to upload.
const HttpErrorCode(5)
- forbidden → const HttpErrorCode
-
User doesn't have permission to access resource.
const HttpErrorCode(1)
- imATeapot → const HttpErrorCode
-
HTCPCP/1.0 error (RFC 2324).
const HttpErrorCode(6)
- internalServerError → const HttpErrorCode
-
Something's wrong with the server.
const HttpErrorCode(7)
- notFound → const HttpErrorCode
-
Resource not found.
const HttpErrorCode(2)
- notImplemented → const HttpErrorCode
-
Unimplemented server functionality.
const HttpErrorCode(8)
- proxyAuthRequired → const HttpErrorCode
-
HTTP proxy requires authentication.
const HttpErrorCode(4)
-
Service is down temporarily(?).
const HttpErrorCode(9)
-
values
→ const List<
HttpErrorCode> -
A constant List of the values in this enum, in order of their declaration.
const List<
HttpErrorCode>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited