mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: add simple body parser
This commit is contained in:
7
src/util/errors/UnsupportedMediaTypeHttpError.ts
Normal file
7
src/util/errors/UnsupportedMediaTypeHttpError.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { HttpError } from './HttpError';
|
||||
|
||||
export class UnsupportedMediaTypeHttpError extends HttpError {
|
||||
public constructor(message?: string) {
|
||||
super(415, 'UnsupportedHttpError', message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user