Skip to content

Commit 387407f

Browse files
Merge pull request #2991 from tomaszwysocki/fix-example-exception-filters
docs(exception-filters): correct status property
2 parents 849c565 + 471ac72 commit 387407f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/exception-filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async findAll() {
7272
await this.service.findAll()
7373
} catch (error) {
7474
throw new HttpException({
75-
statusCode: HttpStatus.FORBIDDEN,
75+
status: HttpStatus.FORBIDDEN,
7676
error: 'This is a custom message',
7777
}, HttpStatus.FORBIDDEN, {
7878
cause: error

0 commit comments

Comments
 (0)