UnoError<TData> class Null safety

Represents error of uno

implements an Exception Overrides the toString() method with the error received using it's message, the request received and checks if the stackTrace is different from null, if it is, returns it as a string otherwise, returns an empty string

Implemented types

Constructors

UnoError(String message, {TData? data, StackTrace? stackTrace, Request? request, Response? response})
const

Properties

data → TData?
final
hashCode int
The hash code for this object.
read-only, inherited
message String
final
request Request?
final
response Response?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace?
final

Methods

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

Operators

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