odatse.exception module#

exception odatse.exception.CheckpointError(message: str)[source]#

Bases: Error

Exception raised for checkpoint save/restore failures

Parameters:

message (str) – explanation

exception odatse.exception.Error[source]#

Bases: Exception

Base class of exceptions in odatse

rank_local#

True when the error occurred on this MPI rank specifically (e.g. a checkpoint I/O failure re-raised through the phase consensus protocol), as opposed to an error raised identically on every rank (e.g. a config error). The CLI boundary prints rank-local errors from the owning rank; all other errors are printed on rank 0 only.

Type:

bool

exception odatse.exception.InputError(message: str)[source]#

Bases: Error

Exception raised for errors in inputs

Parameters:

message (str) – explanation