lewis.core.exceptions
Defines exception types specific to lewis. The main intention of these exception types is that they can be caught and meaningful messages can be displayed to the user.
Members
This exception can be raised in situation where the performed action (accessing a property or similar) is not allowed. |
|
This exception type is used to distinguish exceptions that are expected from unexpected ones. |
|
An exception that can be raised in a device to indicate a limit violation. |
- exception lewis.core.exceptions.AccessViolationException[source]
Bases:
ExceptionThis exception can be raised in situation where the performed action (accessing a property or similar) is not allowed. An example is
BoundPVfor enforcing read-only PVs.
- exception lewis.core.exceptions.LewisException[source]
Bases:
ExceptionThis exception type is used to distinguish exceptions that are expected from unexpected ones. This enables better error handling and more importantly better presentation of errors to the users.
- exception lewis.core.exceptions.LimitViolationException[source]
Bases:
ExceptionAn exception that can be raised in a device to indicate a limit violation. It is for example raised by the
check_limits.