Skip to content

Commit b00882b

Browse files
committed
add KeyNotFound IssuerNotFound
1 parent fb19d2b commit b00882b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/cryptojwt/exception.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ class MissingKey(JWKESTException):
4343
"""No usable key"""
4444

4545

46-
class MissingIssuer(JWKESTException):
47-
"""No usable issuer"""
46+
class KeyNotFound(KeyError):
47+
"""Key not found"""
48+
49+
50+
class IssuerNotFound(KeyError):
51+
"""Issuer not found"""
4852

4953

5054
class KeyIOError(Exception):

0 commit comments

Comments
 (0)