bucky.model.exceptions

Some custom bucky related exceptions.

Module Contents

exception bucky.model.exceptions.SimulationException[source]

Bases: Exception

A generic exception to throw when there’s an error related to the simulation.

exception bucky.model.exceptions.StateValidationException[source]

Bases: bucky.model.exceptions.SimulationException

Thrown when the state vector is in an invalid state.