ErrorResponse class
Represent a user-facing Error.
Constructors
-
ErrorResponse({required Input<
Map< details, required Input<String, String> >String> errorTime, required Input<String> errorUuid, required Input<String> message, required Input<String> reason}) -
Creates a new ErrorResponse.
detailsAdditional information about the error.errorTimeThe time when the error occurred.errorUuidA unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.messageA message containing more information about the error that occurred.reasonA title that explains the reason for the error.const -
ErrorResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
details
→ Input<
Map< String, String> > -
Additional information about the error.
final
-
errorTime
→ Input<
String> -
The time when the error occurred.
final
-
errorUuid
→ Input<
String> -
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
message
→ Input<
String> -
A message containing more information about the error that occurred.
final
-
reason
→ Input<
String> -
A title that explains the reason for the error.
final
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited