landtransportsg.exceptions
Exceptions that could occur when interacting with any API endpoint.
-
exception
landtransportsg.exceptions.
APIError
(message, errors=None)
Bases: Exception
Error when the API returns an error.
-
message
The general error message to display when the error is raised.
- Type
str
-
errors
(optional) Other messages that were part of the raised error.
- Type
list of str