pyg90alarm.exceptions
Exceptions specific to G90-based alarm systems.
Exceptions
Raised when a command to the alarm panel reports an error. |
|
Raised when a command to the alarm panel reports failure. |
|
Raised when registering an entity to the alarm panel fails. |
|
Represents a generic exception raised by many package classes. |
|
Raised when a peripheral definition is not found. |
|
Raised for response or parsing conditions that trigger retries in G90BaseCommand and G90PaginatedCommand (e.g. wrong response code, truncated or extra data in paginated response). |
|
Raised when particular package class to report an operation (typically device command) has timed out. |
- exception pyg90alarm.exceptions.G90Error
Bases:
ExceptionRepresents a generic exception raised by many package classes.
- add_note(note, /)
Add a note to the exception
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.
- exception pyg90alarm.exceptions.G90TimeoutError
Bases:
TimeoutError,G90ErrorRaised when particular package class to report an operation (typically device command) has timed out.
- add_note(note, /)
Add a note to the exception
- errno
POSIX exception code
- filename
exception filename
- filename2
second exception filename
- strerror
exception strerror
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.
- exception pyg90alarm.exceptions.G90RetryableError
Bases:
G90ErrorRaised for response or parsing conditions that trigger retries in G90BaseCommand and G90PaginatedCommand (e.g. wrong response code, truncated or extra data in paginated response).
- add_note(note, /)
Add a note to the exception
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.
- exception pyg90alarm.exceptions.G90CommandFailure
Bases:
G90ErrorRaised when a command to the alarm panel reports failure.
- add_note(note, /)
Add a note to the exception
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.
- exception pyg90alarm.exceptions.G90CommandError
Bases:
G90ErrorRaised when a command to the alarm panel reports an error.
- add_note(note, /)
Add a note to the exception
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.