11 lines
243 B
Python
11 lines
243 B
Python
"""passbook core exceptions"""
|
|
|
|
class PasswordPolicyInvalid(Exception):
|
|
"""Exception raised when a Password Policy fails"""
|
|
|
|
messages = []
|
|
|
|
def __init__(self, *messages):
|
|
super().__init__()
|
|
self.messages = messages
|