CepNotFoundException class
Thrown when no data could be retrieved for the given CEP.
This occurs when all providers (ViaCEP, AwesomeAPI, OpenCEP) fail to return valid address data for the given cep.
- Inheritance
-
- Object
- CepFetcherException
- CepNotFoundException
Constructors
- CepNotFoundException(String cep)
-
Creates a CepNotFoundException when all providers fail to return
data for the given
cep.
Properties
- cep → String
-
The sanitized CEP string for which data could not be found.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable description of the exception.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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