AppError class

Implemented types
Implementers

Constructors

AppError(String message, [StackTrace? stackTrace])

Properties

context Map<String, dynamic>
The context around the exception. Use this for scoped-values and states that may have contributed to the exception and might be useful in reproduction.
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
The exception message, this should not use interpolation. Store exception context in context, appropriately.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The exception stack trace
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toResponse([int statusCode = HttpStatus.internalServerError]) ErrorResponse
toString() String
A string representation of this object.
override

Operators

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