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
hashCode int
The hash code for this object. [...]
read-only, inherited
mimeType String
MIME type of file. Defaults to text/html.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
staticFile String
Static file content to be served for this error.
read / write

Methods

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

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited