NetworkException class
Network exception for connectivity issues
- Inheritance
-
- Object
- VinculumException
- NetworkException
Constructors
-
NetworkException(String message, {int? statusCode, Map<
String, dynamic> ? details, Object? originalError}) -
Creates a new NetworkException
const
Properties
- code → String?
-
Error code from the server
finalinherited
-
details
→ Map<
String, dynamic> ? -
Additional error details
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRetryable → bool
-
Returns true if this is a retryable error
no setteroverride
- message → String
-
Error message
finalinherited
- originalError → Object?
-
The original error that caused this exception
final
- requestId → String?
-
Request ID for tracking
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code (if applicable)
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