5 lines
173 B
Python
5 lines
173 B
Python
|
class SessionException(Exception):
|
||
|
def __init__(self, message: str, code: int):
|
||
|
super().__init__(message)
|
||
|
self.message = message
|
||
|
self.code = code
|