Skip to content

Errors

Every error pourbase raises derives from PourbaseError.

pourbase.PourbaseError

Bases: Exception

Base class for package-specific failures.

pourbase.IncompleteSystemError

Bases: PourbaseError

A calculation would omit a ligand-free species without a Gibbs value.

pourbase.MetalSystemNotFoundError

Bases: PourbaseError

The requested element symbol has no records in the database.

pourbase.UnsupportedConditionError

Bases: PourbaseError

The requested calculation is outside the validated scientific scope.

pourbase.DatabaseSchemaError

Bases: PourbaseError

The SQLite file does not provide the schema required by this package.

pourbase.MaterialsProjectUnavailableError

Bases: PourbaseError

The optional live Materials Project workflow could not run.

pourbase.CalculationCancelled

Bases: PourbaseError

A long calculation was cancelled through its progress callback.