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.
2 parents 849c565 + 471ac72 commit 387407fCopy full SHA for 387407f
content/exception-filters.md
@@ -72,7 +72,7 @@ async findAll() {
72
await this.service.findAll()
73
} catch (error) {
74
throw new HttpException({
75
- statusCode: HttpStatus.FORBIDDEN,
+ status: HttpStatus.FORBIDDEN,
76
error: 'This is a custom message',
77
}, HttpStatus.FORBIDDEN, {
78
cause: error
0 commit comments