ServerError class final

HTTP 5xx - Server error

Inheritance
Available extensions

Constructors

ServerError(int statusCode)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isRetryable → bool

Available on DownloadError, provided by the DownloadErrorMessage extension

Returns true if error is recoverable by retrying
no setter
requiresUserAction → bool

Available on DownloadError, provided by the DownloadErrorMessage extension

Returns true if error requires user action
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toTitle() → String

Available on DownloadError, provided by the DownloadErrorMessage extension

Returns a short error title for UI dialogs
toUserMessage() → String

Available on DownloadError, provided by the DownloadErrorMessage extension

Returns a user-friendly error message

Operators

operator ==(Object other) → bool
The equality operator.
inherited