exceptions

A module containing different exceptions related to the traj subpackage.

Summary

Exceptions:

MDEngineFormatError

Exception raised if the given enum is not valid

TrajectoryError

Exception raised for errors related to the Trajectory class

TrajectoryFormatError

Exception raised if the given enum is not valid

Reference

exception MDEngineFormatError(
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 TrajectoryError(message: str)[source]

Bases: PQException

Exception raised for errors related to the Trajectory class

Parameters:

message (str) – The error message.

exception TrajectoryFormatError(
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.