hoomd.error

Overview

DataAccessError

Raised when data is inaccessible until the simulation is run.

TypeConversionError

Error when converting a parameter.

MutabilityError

Raised when setting an attribute after a simulation has been run.

GPUNotAvailableError

Error for when a GPU specific feature was requested without a GPU.

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.GPUNotAvailableError

Bases: NotImplementedError

Error for when a GPU specific feature was requested without a GPU.

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.