omnipy.shared.exceptions
| CLASS | DESCRIPTION |
|---|---|
AssumedToBeImplementedException |
Used as default implementation for methods in Protocols that are to be |
FailedDataError |
|
JobStateException |
|
OmnipyNoneIsNotAllowedError |
|
PendingDataError |
|
ShouldNotOccurException |
|
AssumedToBeImplementedException
Bases: Exception
Used as default implementation for methods in Protocols that are to be inherited from in TYPE_CHECKING blocks. This tells type checkers that a class should be assumed to implement the protocol, even when type checkers cannot verify this. If a Protocol method is just an ellipsis or raises NotImplementedError, type checkers will check that the class actually implements the method.
Source code in src/omnipy/shared/exceptions.py
FailedDataError
JobStateException
OmnipyNoneIsNotAllowedError
Bases: pyd.NoneIsNotAllowedError
| ATTRIBUTE | DESCRIPTION |
|---|---|
msg_template |
|