NorbixServerError class

5xx — server-side failure.

Inheritance

Constructors

NorbixServerError({required String message, List<NorbixErrorItem> errors = const [], Object? body, String code = 'NORBIX_SERVER_ERROR', int status = 0, Map<String, dynamic> details = const {}})
const

Properties

body Object?
The answer exactly as it arrived, for whoever needs the rest of it.
finalinherited
code String
Norbix-specific error code (or NORBIX_HTTP_ERROR if the server did not provide one).
finalinherited
details Map<String, dynamic>
Full parsed response body (or transport context) for debugging.
finalinherited
errorCode String
Same value as code. The name every Norbix SDK uses for it.
no setterinherited
errors List<NorbixErrorItem>
Every error the gateway sent, in the order it sent them.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
httpStatus int
Same value as status. The name every Norbix SDK uses for it.
no setterinherited
message String
Human-readable message extracted from the response body when possible.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
HTTP status code, or 0 for transport-level failures (DNS, timeout).
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