API referenceΒΆ

tidyexc.Error([brief])

A base class for making exceptions that:

tidyexc.only_raise(*err_cls)

Guarantee that the decorated function can only raise the given types of exception.