mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-04 22:08:12 +02:00
added routes to sumbit the answers
This commit is contained in:
6
src/utils/errors.js
Normal file
6
src/utils/errors.js
Normal file
@ -0,0 +1,6 @@
|
||||
export class InvalidJsonFormatError extends Error {
|
||||
constructor(message = 'JSON must be an object mapping strings to strings') {
|
||||
super(message);
|
||||
this.name = 'InvalidJsonFormatError';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user