command_interpreter.exceptions
– Custom exceptions¶
Command interpreter exceptions
-
exception
vdat.command_interpreter.exceptions.
CIError
[source]¶ Bases:
Exception
Generic exception. It’s the parent of all the other exceptions defined here
-
exception
vdat.command_interpreter.exceptions.
CIValidationError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIError
Exception raised when validating the command in the constructor
-
exception
vdat.command_interpreter.exceptions.
CINoExeError
(name)[source]¶ Bases:
vdat.command_interpreter.exceptions.CIValidationError
Raised when the executable
name
is not found
-
exception
vdat.command_interpreter.exceptions.
CIParseError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIValidationError
Failed parsing of the command
-
exception
vdat.command_interpreter.exceptions.
CIKeywordValidationError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIValidationError
Raised when the keyword validation fails
-
exception
vdat.command_interpreter.exceptions.
CIKeywordTypeError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIKeywordValidationError
Raised when the keyword doesn’t have a
type
key or its type is not known
-
exception
vdat.command_interpreter.exceptions.
CIRunError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIError
Raised when running the command
-
exception
vdat.command_interpreter.exceptions.
CIPrimaryError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIRunError
Raised if something bad happens when handling a primary keyword
-
exception
vdat.command_interpreter.exceptions.
CIKeywordError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIRunError
Raised if something bad happens when handling a secondary keyword
-
exception
vdat.command_interpreter.exceptions.
CICommandFmtError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIRunError
Raised when the replacement of the keyword fails
-
exception
vdat.command_interpreter.exceptions.
CISubprocessError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIRunError
Error raised when the start of the subprocess or the communication with it fails. It’s not related with the execution of the underlying command
-
exception
vdat.command_interpreter.exceptions.
CISliceError
[source]¶ Bases:
vdat.command_interpreter.exceptions.CIError
,ValueError
Errors raised while initialising the command_interpreter.utils.SliceLike class