feat: add simple body parser

This commit is contained in:
Joachim Van Herwegen
2020-06-10 11:41:15 +02:00
parent 70af46933b
commit d4f70d9c59
12 changed files with 213 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
import { HttpError } from './HttpError';
export class UnsupportedMediaTypeHttpError extends HttpError {
public constructor(message?: string) {
super(415, 'UnsupportedHttpError', message);
}
}