Exceptions¶
The class hierarchy for PyTecplot exceptions are as follows. Exceptions in parentheses are Python built-ins from which the PyTecplot exceptions derive. One can use either the Python native errors or the more specific “Tecplot” errors to catch exceptions:
TecplotError (Exception)
+--- TecplotInitializationError (ImportError)
| +--- TecplotLicenseError
| +--- TecplotLibraryNotLoadedError
| +--- TecplotLibraryNotFoundError
+--- TecplotLogicError (AssertionError)
+--- TecplotLookupError (LookupError)
| +--- TecplotIndexError (IndexError)
| +--- TecplotKeyError (KeyError)
+--- TecplotOSError (OSError)
+--- TecplotRuntimeError (RuntimeError)
| +--- TecplotNotImplementedError (NotImplementedError)
+--- TecplotSystemError (SystemError)
| +--- TecplotMacroError
+--- TecplotTypeError (TypeError)
+--- TecplotValueError (ValueError)
-
exception
tecplot.exception.
TecplotInitializationError
[source]¶ Tecplot engine could not be initialized.
-
exception
tecplot.exception.
TecplotLibraryNotFoundError
[source]¶ Interprocess library was not found in PATH or DY/LD_LIBRARY_PATH.
-
exception
tecplot.exception.
TecplotLibraryNotLoadedError
[source]¶ Interprocess library could not be loaded.
-
exception
tecplot.exception.
TecplotMacroError
(message=None)[source]¶ Macro command failed to execute.
-
exception
tecplot.exception.
TecplotNotImplementedError
[source]¶ Requested operation is planned but not implemented.