ErrorRouteResolution<T extends RouteUri> class final

A typed routing failure suitable for an error page or HTTP 5xx response.

Inheritance

Constructors

ErrorRouteResolution({required RouteRequest request, required Object error, required StackTrace stackTrace, int statusCode = 500, Map<String, List<String>> headers = const {}, RouteHydrationPayload? hydration})

Properties

error Object
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, List<String>>
finalinherited
hydration RouteHydrationPayload?
Versioned, serializable loader data associated with this resolution.
finalinherited
request RouteRequest
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
final
statusCode int
finalinherited

Methods

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

Operators

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