ErrorResponse class
Error describes why the execution was abnormally terminated.
Constructors
-
ErrorResponse({required Input<
String> context, required Input<String> payload, required Input<StackTraceResponse> stackTrace}) -
Creates a new ErrorResponse.
contextHuman-readable stack trace string.payloadError message and data returned represented as a JSON string.stackTraceStack trace with detailed information of where error was generated.const -
ErrorResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
context
→ Input<
String> -
Human-readable stack trace string.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
payload
→ Input<
String> -
Error message and data returned represented as a JSON string.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stackTrace
→ Input<
StackTraceResponse> -
Stack trace with detailed information of where error was generated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited