bagofholding.exceptions module
A centralized location for exceptions.
Using custom exceptions allows us to be much more specific in the test suite.
- exception bagofholding.exceptions.BagMismatchError[source]
Bases:
BagOfHoldingError,ValueError
- exception bagofholding.exceptions.BagOfHoldingError[source]
Bases:
ExceptionA base class for raising bagofholding-related exceptions
- exception bagofholding.exceptions.EnvironmentMismatchError[source]
Bases:
BagOfHoldingError,ModuleNotFoundError
- exception bagofholding.exceptions.FileAlreadyOpenError[source]
Bases:
BagOfHoldingError
- exception bagofholding.exceptions.FileNotOpenError[source]
Bases:
BagOfHoldingError
- exception bagofholding.exceptions.FilepathError[source]
Bases:
BagOfHoldingError,FileExistsError
- exception bagofholding.exceptions.InvalidMetadataError[source]
Bases:
BagOfHoldingError,ValueError
- exception bagofholding.exceptions.ModuleForbiddenError[source]
Bases:
BagOfHoldingError,ValueError
- exception bagofholding.exceptions.NoVersionError[source]
Bases:
BagOfHoldingError,ValueError
- exception bagofholding.exceptions.NotAGroupError[source]
Bases:
BagOfHoldingError,TypeError
- exception bagofholding.exceptions.PickleProtocolError[source]
Bases:
BagOfHoldingError,ValueError
- exception bagofholding.exceptions.StringNotImportableError[source]
Bases:
BagOfHoldingError