platypus.errors module

exception PlatypusError

Bases: Exception

An exception occurred in the Platypus library.

Exceptions raised by Platypus should extend from this type, unless a more standard exception type is available (e.g., ValueError to indicate a parameter is invalid).

exception PlatypusWarning

Bases: UserWarning

Warning about a potential issue with the usage of Platypus.

Warnings emitted by Platypus should extend from this type, unless a more standard warning type is available (e.g., DeprecationWarning). These warnings typically indicate incorrect usage that could potentially lead to issues, but not at the severity of raising an exception.

exception SingularError

Bases: PlatypusError

The matrix is singular and the operation could not be performed.