ErrorEntry class

Provides info about an error.

Constructors

ErrorEntry({String? origin, String? code, String? message, Map<String, dynamic>? details})
Creates a instance of ErrorEntry
ErrorEntry.fromJson(Map<String, dynamic> json)
Creates a instance of ErrorEntry from JsonMap.
factory

Properties

code String?
Specific short code of the error message (e.g., validation_error, content_type_error)
getter/setter pair
details Map<String, dynamic>?
Any additional details about the error. Details is a JSON object and can have a different structure for different error types.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
Short description of the error
getter/setter pair
origin String?
Originator of the error either a client error or an internal server 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.
override

Operators

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