Exceptions (pyobs.utils.exceptions)¶
ExceptionHandler¶
- exception ExceptionHandler(exc_type, limit, timespan, module, callback, throw)[source]¶
Create new instance of ExceptionHandler(exc_type, limit, timespan, module, callback, throw)
- callback: Callable[[PyObsError], Coroutine[Any, Any, None]] | None¶
Alias for field number 4
- exc_type: Type[PyObsError]¶
Alias for field number 0
- limit: int¶
Alias for field number 1
- module: str | None¶
Alias for field number 3
- throw: bool¶
Alias for field number 5
- timespan: float | None¶
Alias for field number 2
GrabImageError¶
InitError¶
InvocationError¶
LoggedException¶
- exception LoggedException(time, exception)[source]¶
Create new instance of LoggedException(time, exception)
- exception: PyObsError¶
Alias for field number 1
- time: float¶
Alias for field number 0
ModuleError¶
MotionError¶
MoveError¶
ParkError¶
PyObsError¶
RemoteError¶
RemoteTimeoutError¶
SevereError¶
- exception SevereError(exception: PyObsError, module: str | None = None)[source]¶
Severe exception that is raised after multiple raised other exceptions.