excepting
Introduction

This project allows to capture exceptions easily.

Installation
Features
class excepting.Exceptor()

This class allows to capture exceptions.

capture(*args: type[BaseException]) -> contextlib.ContextDecorator

This contextmanager captures exceptions of the given types.

captured: Optional[BaseException] = None

This property stores the captured exception.

Testing
License
Impressum