mod exceptions

module exceptions

Types

type CoreResult<T>

Shorthand for fallible core operations, like PyResult<T> is for pyo3.

Enums

enum CoreError

Errors raised by the pure-rust core.

These mirror noob.exceptions: the scheduler’s python boundary layer is responsible for translating them into the corresponding python exception types. Keeping this enum free of pyo3 lets the sorter and its tests stay pure rust.

AlreadyDone(String)

A node has already been marked done in the given epoch.

NotAdded(String)

A node was not added to the graph before attempting to refer to it

EpochExists(Epoch)

The epoch that is being created already exists

EpochCompleted(Epoch)

The epoch that is being referred to has already been completed and logged

Value(String)

ValueError

Traits implemented

impl fmt::Display for CoreError
impl Error for CoreError