Error Reference¶
Handling Errors¶
Stack Traces¶
Because WalkScore 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.
WalkScore Errors¶
WalkScoreError (from ValueError
)¶
-
class
WalkScoreError
[source]¶ Base error raised by WalkScore. Inherits from
ValueError
.
InternalAPIError (from WalkScoreError
)¶
-
class
InternalAPIError
[source]¶ Internal error within the WalkScore API itself. Inherits from
WalkScoreError
.