[docs]class SampleException(Exception):
"""
Exceptions connected with problems with the Sample definition.
"""
pass
[docs]class SymmetryError(SampleException):
"""
Symmetry needed but not defined.
"""
pass
[docs]class CellError(SampleException):
"""
Lattice structure needed but not defined.
"""
pass
[docs]class MagDefError(SampleException):
"""
Magnetic structure not defined or incompatible.
"""
pass
[docs]class MuonError(SampleException):
"""
Muon position needed but not defined.
"""
pass