feat: add model for syntax error

This commit is contained in:
Wieland Schöbl
2019-02-06 16:25:56 +01:00
parent 9f50c9c565
commit a3f9fcbfb0
10 changed files with 33 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018-2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -31,6 +31,7 @@ export class SCIndexRoute extends SCAbstractRoute {
this.errorNames = [
'SCInternalServerErrorResponse',
'SCMethodNotAllowedErrorResponse',
'SCSyntaxError',
'SCUnsupportedMediaTypeErrorResponse',
'SCValidationErrorResponse',
];