Skip to content

Commit 05d6294

Browse files
Merge pull request #2547 from BobTheSoftwareDeveloper/master
docs(exception-filters.md): fix indentation for HttpException error options example
2 parents c6fce0b + 53de99f commit 05d6294

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/exception-filters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ async findAll() {
7272
await this.service.findAll()
7373
} catch (error) {
7474
throw new HttpException({
75-
status: HttpStatus.FORBIDDEN,
76-
error: 'This is a custom message',
77-
}, HttpStatus.FORBIDDEN, {
78-
cause: error
79-
});
75+
status: HttpStatus.FORBIDDEN,
76+
error: 'This is a custom message',
77+
}, HttpStatus.FORBIDDEN, {
78+
cause: error
79+
});
8080
}
8181
}
8282
```

0 commit comments

Comments
 (0)