exceptions

A module containing different exceptions related to the core subpackage.

Summary

Exceptions:

AtomError

Exception raised for errors related to the Atom class

ElementNotFoundError

Exception raised if the given element id is not valid

ResidueError

Exception raised for errors related to the Residue class

ResidueWarning

Warning raised for problems related to the Residue class

Reference

exception AtomError[source]

Bases: PQException

Exception raised for errors related to the Atom class

exception ElementNotFoundError(element_id: Any)[source]

Bases: PQException

Exception raised if the given element id is not valid

Parameters:

element_id (Any) – The id that is not valid.

exception ResidueError(message: str)[source]

Bases: PQException

Exception raised for errors related to the Residue class

Parameters:

message (str) – The error message.

exception ResidueWarning(message: str)[source]

Bases: PQWarning

Warning raised for problems related to the Residue class

Parameters:

message (str) – The error message.