NmErrorInfo class
An error as the error views read it: a code (NETWORK_ERROR, TIMEOUT, PLAN_REQUIRED, …), a message, a request
id and details. Products convert their exception type.
- Annotations
Constructors
Properties
- code → String
-
Machine-readable code.
final
-
details
→ List<
Map< String, dynamic> > -
Error details.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNetwork → bool
-
Whether this is a network failure or timeout.
no setter
- message → String?
-
Human-readable message.
final
- requestId → String?
-
Request id to quote to support.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
detail(
String key) → Object? -
The first value of
keyin details. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited