duo-labs / py_webauthn

Pythonic WebAuthn 🐍
https://duo-labs.github.io/py_webauthn
BSD 3-Clause "New" or "Revised" License
856 stars 171 forks source link

feat: Adds base exception class for the module #77

Closed Darkheir closed 3 years ago

Darkheir commented 4 years ago

This PR adds a common error class to all the exception of the module.

It makes it easier to catch the potential error from outside the module.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

MasterKale commented 3 years ago

The new webauthn.helpers.exceptions module contains a whole slew of new exceptions that can be used for more nuanced handling of errors raised by the newly released v1.0.0 of the library