Module azcam.exceptions
Contains custom exceptions and warnings used throughout azcam.
Functions
def AzcamWarning(message: str) ‑> None
-
Print and log a warning message.
Classes
class AzcamError (message: str, error_code: int = 0)
-
Base custom error class for azcam.
Custom error exception for azcam.
Usage: raise azcam.AzcamError(message)
Args
message
- string message to display when error is raised
error_code
- flag for code, from list below
- 0 - no error
- 1 - controller reset error, check power and fibers
- 2 - could not open connection to server
- 3 - receive image data abort
- 4 - remote call not allowed
Ancestors
- builtins.Exception
- builtins.BaseException