Source code for bw2io.errors

[docs] class InvalidPackage(Exception): """bw2package data doesn't validate""" pass
[docs] class UnsafeData(Exception): """bw2package data comes from a class that isn't recognized by Brightway2""" pass
[docs] class UnsupportedExchange(Exception): """This exchange uncertainty type can't be rescaled automatically""" pass
[docs] class StrategyError(Exception): """The strategy could not be applied""" pass
[docs] class NonuniqueCode(Exception): """Not all provided codes are unique""" pass
[docs] class WrongDatabase(Exception): """Dataset does not belong to this database""" pass
[docs] class MultiprocessingError(Exception): """Multiprocessing module error or incompatibility""" pass
[docs] class UnallocatableDataset(Exception): """GIven data cannot be sanely or deterministically allocated""" pass
[docs] class MissingMigration(Exception): """Needed migration data is missing""" pass