KataCxHttpException class
Raised when a request cannot be completed, or completes non-2xx on a call where the status is the transport's to police.
- Implemented types
Constructors
- KataCxHttpException(String message, {int? statusCode, String? url})
-
Creates an exception.
statusCodeis null for a transport-level failure such as a connection timeout.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status, when a response was received at all.
final
- url → String?
-
The URL that failed.
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