ViesServerError class final

Errors caused by the transport or by VIES itself (timeouts, faults, connectivity loss).

Inheritance

Constructors

ViesServerError({required ViesErrorCode code, String? message, String? viesResponse})
Creates a transport or service error carrying ViesError.code.
const

Properties

code → ViesErrorCode
Strongly-typed error code.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
Effective message: the explicit one if supplied, otherwise the canonical message attached to code.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeName → String
Stable type discriminator used in JSON output.
no setteroverride
viesResponse → String?
Raw text returned (or synthesised) for this error - typically the user-facing message.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
JSON representation, suitable for logging or persistence.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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