ErrorWriter class

Error writer interface

Error writer is used by Jaguar server to write 404 and 500 errors

Implementers

Constructors

ErrorWriter()

Properties

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

make404(Context ctx) FutureOr<Response>
Makes Response for 404 error
make500(Context ctx, Object error, [StackTrace stack]) FutureOr<Response>
Makes Response for 500 error
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 ==(Object other) bool
The equality operator. [...]
inherited