Coverage for kwai/modules/identity/exceptions.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.3.0, created at 2023-09-05 17:55 +0000

1"""Module that defines common identity exceptions.""" 

2 

3 

4class AuthenticationException(Exception): 

5 """Raised when authentication is not allowed.""" 

6 

7 

8class NotAllowedException(Exception): 

9 """Raised when an action is not allowed."""