hoomd.error#
Overview
Raised when data is inaccessible until the simulation is run. |
|
Error when converting a parameter. |
|
Raised when setting an attribute after a simulation has been run. |
Details
HOOMD-blue specific error classes.
These classes are subclasses of Python exception types. HOOMD-blue raises these exceptions when documented.
- exception hoomd.error.DataAccessError(data_name)#
Bases:
RuntimeError
Raised when data is inaccessible until the simulation is run.
- __str__()#
Returns the error message.
- exception hoomd.error.MutabilityError(attribute_name)#
Bases:
AttributeError
Raised when setting an attribute after a simulation has been run.
- __str__()#
Returns the error message.
- exception hoomd.error.TypeConversionError#
Bases:
ValueError
Error when converting a parameter.