exception¶
py4vasp.exception Module¶
Deals with the possible exceptions in py4vasp.
The design goal is that all foreseeable exceptions in py4vasp issue an exception of the Py4VaspException class. Any other kind of exception would indicate a bug in the code. If possible the part standard users interact with should not raise any exception, but should give advice on how to overcome the issue.
Classes¶
Exception raised when error occurs during accessing the HDF5 file. |
|
The user provided input is not suitable for processing |
|
Exception raised when py4vasp attribute of Calculation, Batch, . |
|
Exception raised when a functionality is used that relies on an optional dependency of py4vasp but that dependency is not installed. |
|
Exception raised when certain data is not present, because the corresponding INCAR flags have not been set. |
|
Exception raised when a function is called that is not implemented. |
|
Exception raised when the py4vasp features used are not available in the used version of Vasp. |
|
Exception raised when the parser encounters an error. |
|
Base class for all exceptions raised by py4vasp |
|
When refining the raw dataclass into the class handling e.g. reading and plotting of the data an error occurred. |
|
Exception raised when an error occurred in the user interface. |