mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-09-20 00:47:56 +00:00
524a0a211d
removed print statement in pit module Former-commit-id: 4978aee142eaf9431913b44eabfc0dfb79c7b600
11 lines
253 B
Python
11 lines
253 B
Python
class APIError(Exception):
|
|
code = None
|
|
def __init__(self, str, endpoint):
|
|
super().__init__(str)
|
|
self.endpoint = endpoint
|
|
|
|
class ConfigurationError (Exception):
|
|
code = None
|
|
def __init__(self, str, code):
|
|
super().__init__(str)
|
|
self.code = code |