feat: add model for requestBodyTooLargeError

This commit is contained in:
Wieland Schöbl
2019-02-18 11:44:39 +01:00
parent a09aae5d5d
commit bc3a0f6d11
10 changed files with 33 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ import {SCAbstractRoute, SCRouteHttpVerbs} from '../../../Route';
import {
SCInternalServerErrorResponse,
SCMethodNotAllowedErrorResponse,
SCRequestBodyTooLargeErrorResponse,
SCSyntaxErrorResponse,
SCUnsupportedMediaTypeErrorResponse,
SCValidationErrorResponse,
@@ -38,6 +39,7 @@ export class SCIndexRoute extends SCAbstractRoute {
this.errorNames = [
SCInternalServerErrorResponse,
SCMethodNotAllowedErrorResponse,
SCRequestBodyTooLargeErrorResponse,
SCSyntaxErrorResponse,
SCUnsupportedMediaTypeErrorResponse,
SCValidationErrorResponse,