UnoError<TData> class

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})
UnoError constructor class
const

Properties

data → TData?
The variable data it's the type TData
final
hashCode int
The hash code for this object.
no setterinherited
message String
The variable message it's the type String
final
request Request?
The variable request it's the type Request
final
response Response?
The variable response it's the type Response
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The variable stackTrace it's the type StackTrace
final

Methods

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

Operators

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