exceptions

A module containing different exceptions related to the io subpackage.

Summary

Exceptions:

BoxFileFormatError

Exception raised if the given enum is not valid

BoxWriterError

Exception raised for errors related to the BoxWriter class

FileWritingModeError

Exception raised if the given enum is not valid

MoldescriptorReaderError

Exception raised for errors related to the MoldescriptorReader class

OutputFileFormatError

Exception raised if the given enum is not valid

Reference

exception BoxFileFormatError(
self,
value: object,
enum: object,
)[source]

Bases: BaseEnumFormatError

Exception raised if the given enum is not valid

Parameters:
  • value (object) – The value that is not valid.

  • enum (object) – The enum that is not valid.

exception BoxWriterError[source]

Bases: PQException

Exception raised for errors related to the BoxWriter class

exception FileWritingModeError(
self,
value: object,
enum: object,
)[source]

Bases: BaseEnumFormatError

Exception raised if the given enum is not valid

Parameters:
  • value (object) – The value that is not valid.

  • enum (object) – The enum that is not valid.

exception MoldescriptorReaderError[source]

Bases: PQException

Exception raised for errors related to the MoldescriptorReader class

exception OutputFileFormatError(
self,
value: object,
enum: object,
)[source]

Bases: BaseEnumFormatError

Exception raised if the given enum is not valid

Parameters:
  • value (object) – The value that is not valid.

  • enum (object) – The enum that is not valid.