ErrorHandler class

Custom static error page to be served when an error occurs.

Constructors

ErrorHandler()
ErrorHandler.fromJson(Map _json)

Properties

errorCode ↔ String
Error condition this handler applies to. Possible string values are: [...]
read / write
mimeType ↔ String
MIME type of file. Defaults to text/html.
read / write
staticFile ↔ String
Static file content to be served for this error.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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