Skip to content
class

PeftError

extendsException
PeftError()

The base of the errors lucid.peft raises on its own account.

Catch it to handle any of them at once; the library's other errors are the builtin ones (ValueError, TypeError, NotImplementedError) it raises for a bad argument.

Examples

>>> from lucid.peft import NoMatchingPeftModuleError, PeftError
>>> issubclass(NoMatchingPeftModuleError, PeftError)
True

Used by 1