VinculumException class
Base exception for Vinculum client errors
Constructors
-
VinculumException(String message, {int? statusCode, Map<
String, dynamic> ? details, String? code, String? requestId}) -
Creates a new VinculumException
const
-
VinculumException.fromJson(Map<
String, dynamic> json, {int? statusCode}) -
Creates a VinculumException from a JSON response
factory
Properties
- code → String?
-
Error code from the server
final
-
details
→ Map<
String, dynamic> ? -
Additional error details
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRetryable → bool
-
Returns true if this is a retryable error
no setter
- message → String
-
Error message
final
- requestId → String?
-
Request ID for tracking
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code (if applicable)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited