Error Reference¶
Handling Errors¶
Stack Traces¶
Because the Census Geocoder produces exceptions which inherit from the standard library, it leverages the same API for handling stack trace information. This means that it will be handled just like a normal exception in unit test frameworks, logging solutions, and other tools that might need that information.
Census Geocoder Errors¶
CensusGeocoderError (from ValueError
)¶
- class CensusGeocoderError[source]¶
Base error raised by the Census Geocoder. Inherits from
ValueError
.
CensusAPIError (from CensusGeocoderError
)¶
- class CensusAPIError[source]¶
Error raised when the Census Geocoder API returned an error.
BatchSizeTooLargeError (from ConfigurationError
)¶
- class BatchSizeTooLargeError[source]¶
Error raised when the size of a batch address file exceeds the limit of 10,000 imposed by the Census Geocoder API.