We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f33ab commit 14ef8deCopy full SHA for 14ef8de
content/exception-filters.md
@@ -72,7 +72,7 @@ async findAll() {
72
await this.service.findAll()
73
} catch (error) {
74
throw new HttpException({
75
- status: HttpStatus.FORBIDDEN,
+ statusCode: HttpStatus.FORBIDDEN,
76
error: 'This is a custom message',
77
}, HttpStatus.FORBIDDEN, {
78
cause: error
0 commit comments