Exceptions
sereto.exceptions
¶
SeretoCalledProcessError
¶
Bases: SeretoException
Called process error.
Source code in sereto/exceptions.py
41 42 | |
SeretoConflictError
¶
Bases: SeretoException
A file changed on disk since it was loaded, so saving it would overwrite those changes.
Source code in sereto/exceptions.py
37 38 | |
SeretoDecryptionError
¶
Bases: SeretoException
Decryption error.
Source code in sereto/exceptions.py
17 18 | |
SeretoEncryptionError
¶
Bases: SeretoException
Encryption error.
Source code in sereto/exceptions.py
13 14 | |
SeretoException
¶
Bases: Exception
There was an ambiguous exception.
Source code in sereto/exceptions.py
9 10 | |
SeretoPathError
¶
Bases: SeretoException
Path error.
Source code in sereto/exceptions.py
21 22 | |
SeretoRuntimeError
¶
Bases: SeretoException
Runtime error.
Source code in sereto/exceptions.py
25 26 | |
SeretoTypeError
¶
Bases: SeretoException
Type error.
Source code in sereto/exceptions.py
29 30 | |
SeretoValueError
¶
Bases: SeretoException, ValueError
Value error.
Source code in sereto/exceptions.py
33 34 | |
handle_exceptions(func)
¶
Decorator for pretty printing SeReTo exceptions.
Source code in sereto/exceptions.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | |