Source code for fastiot.exceptions.exceptions
[docs]class ServiceError(Exception):
"""
Raised when something goes wrong during connection to a service.
"""
[docs]class SQLSchemaCheckError(Exception):
"""
Raised when the database schema is invalid. This can happen if a table for an enum does not have the expected
values.
"""
[docs]class ShutdownRequestedInterruption(Exception):
"""
Raised if an execution gets interrupted because a shutdown is requested
"""