mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-06 14:28:13 +02:00
ported backend to python
This commit is contained in:
4
src/utils/errors.py
Normal file
4
src/utils/errors.py
Normal file
@ -0,0 +1,4 @@
|
||||
class InvalidJsonFormatError(Exception):
|
||||
def __init__(self, message='JSON must be an object mapping strings to strings'):
|
||||
super().__init__(message)
|
||||
self.name = 'InvalidJsonFormatError'
|
Reference in New Issue
Block a user