Error class

Represent a user-facing Error.

Constructors

Error({Map<String, String>? details, String? errorTime, String? errorUuid, String? message, String? reason})
Error.fromJson(Map _json)

Properties

details Map<String, String>?
Additional information about the error.
getter/setter pair
errorTime String?
The time when the error occurred.
getter/setter pair
errorUuid String?
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
A message containing more information about the error that occurred.
getter/setter pair
reason String?
A title that explains the reason for the error.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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