Exceptions#

The in-process API uses package-specific exceptions for invalid inputs and native indexing failures. Native allocation failures use Python’s built-in MemoryError.

exception lauelab.indexing.LaueError[source]#

Base class for errors reported by the in-process indexing API.

Notes

Native allocation failures are reported as the built-in MemoryError rather than as a LaueError subclass.

exception lauelab.indexing.InputError[source]#

Invalid geometry selection, parameters, frame data, or metadata.

This exception is both a LaueError and a ValueError, so callers may catch it either as a package-specific error or as invalid input.

exception lauelab.indexing.IndexingError[source]#

Numerical or internal failure in a native indexing stage.

This exception is both a LaueError and a RuntimeError. Its message identifies the failed stage and includes the native diagnostic.

exception lauelab.indexing.ReconstructionError[source]#

Runtime failure in the in-process reconstruction pipeline.