JSONParseError class
JSON parse / serialize failure.
- Inheritance
-
- Object
- AimuxException
- JSONParseError
Constructors
- JSONParseError(String message, {int status = -1, int retryMs = -1, String? errorValue})
Properties
- code → int
-
Machine-readable kind (AimuxErrorCode constants).
finalinherited
- codeName → String
-
Core
error_type()name for code.no setterinherited - errorValue → String?
-
Raw lossless core-error JSON (externally-tagged
AiMuxError), ornullwhen absent (e.g. FFI-synthesized failures). No parsing is done.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable failure text.
finalinherited
- retryMs → int
-
Rate-limit hint in ms;
-1if none;0means retry immediately.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
HTTP status when known; otherwise
-1.finalinherited
Methods
-
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