WebSearchException class final
A provider failure carrying the originating provider id and, for HTTP
failures, the status code (omp's SearchProviderError).
- Implemented types
Constructors
- WebSearchException(String provider, String message, [int? statusCode])
-
Creates an exception.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable failure description. Never contains secrets.
final
- provider → String
-
Id of the provider that failed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code when the failure came from a response.
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