bw2io.errors#

Exceptions#

InvalidPackage

bw2package data doesn't validate

MissingMigration

Needed migration data is missing

MultiprocessingError

Multiprocessing module error or incompatibility

NonuniqueCode

Not all provided codes are unique

StrategyError

The strategy could not be applied

UnallocatableDataset

GIven data cannot be sanely or deterministically allocated

UnsafeData

bw2package data comes from a class that isn't recognized by Brightway2

UnsupportedExchange

This exchange uncertainty type can't be rescaled automatically

WrongDatabase

Dataset does not belong to this database

Module Contents#

exception bw2io.errors.InvalidPackage[source]#

Bases: Exception

bw2package data doesn’t validate

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.MissingMigration[source]#

Bases: Exception

Needed migration data is missing

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.MultiprocessingError[source]#

Bases: Exception

Multiprocessing module error or incompatibility

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.NonuniqueCode[source]#

Bases: Exception

Not all provided codes are unique

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.StrategyError[source]#

Bases: Exception

The strategy could not be applied

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.UnallocatableDataset[source]#

Bases: Exception

GIven data cannot be sanely or deterministically allocated

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.UnsafeData[source]#

Bases: Exception

bw2package data comes from a class that isn’t recognized by Brightway2

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.UnsupportedExchange[source]#

Bases: Exception

This exchange uncertainty type can’t be rescaled automatically

Initialize self. See help(type(self)) for accurate signature.

exception bw2io.errors.WrongDatabase[source]#

Bases: Exception

Dataset does not belong to this database

Initialize self. See help(type(self)) for accurate signature.