exceptions

A module containing exceptions related to input file errors

Summary

Exceptions:

InputFileError

Exception raised if something is wrong with the input file

InputFileFormatError

Exception raised if the given enum is not valid

InputFileWarning

Warning raised if something is wrong with the input file

Reference

exception InputFileError(message: str)[source]

Bases: PQException

Exception raised if something is wrong with the input file

Parameters:

message (str) – The error message.

exception InputFileFormatError(value: object, enum: object)[source]

Bases: BaseEnumFormatError

Exception raised if the given enum is not valid

Parameters:
  • value (object) – The invalid value.

  • enum (object) – The enumeration.

exception InputFileWarning(message: str)[source]

Bases: PQWarning

Warning raised if something is wrong with the input file

Parameters:

message (str) – The warning message.