-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract constructor to parent class (#30)
* Extract constructor to parent class When handling errors as demonstrated [here](https://glitchcorp.github.io/fastapi-another-jwt-auth/usage/basic/), the `exc` object has no known members of `status_code` or `message`. This change provides those members to `AuthJWTException` and all of its subclasses and prevents duplication. * Format
- Loading branch information
1 parent
aa01bc2
commit 191241d
Showing
1 changed file
with
11 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters