NetworkException class
Exception thrown when there's a network-related error
- Inheritance
-
- Object
- ScraperException
- NetworkException
Constructors
- NetworkException.new(String url, String message, [int? statusCode, dynamic cause])
-
const
Properties
- cause → dynamic
-
Optional underlying cause
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The error message
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code if available
final
- url → String
-
The URL that failed to load
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