Add unprocessable entity exception

This commit is contained in:
rijkvanzanten
2020-10-13 16:26:59 -04:00
parent 6d0843a3e9
commit ea7ad5481a
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { BaseException } from './base';
export class UnprocessableEntityException extends BaseException {
constructor(message: string) {
super(message, 422, 'UNPROCESSABLE_ENTITY');
}
}