Skip to content

Commit 14ef8de

Browse files
authored
docs(exception-filters): replace status with statusCode
1 parent 21f33ab commit 14ef8de

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-
status: HttpStatus.FORBIDDEN,
75+
statusCode: HttpStatus.FORBIDDEN,
7676
error: 'This is a custom message',
7777
}, HttpStatus.FORBIDDEN, {
7878
cause: error

0 commit comments

Comments
 (0)