Skip to content

Commit acf2dde

Browse files
Update content/exception-filters.md
1 parent 4bc1c05 commit acf2dde

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
@@ -182,7 +182,7 @@ export class HttpExceptionFilter {
182182

183183
> info **Hint** All exception filters should implement the generic `ExceptionFilter<T>` interface. This requires you to provide the `catch(exception: T, host: ArgumentsHost)` method with its indicated signature. `T` indicates the type of the exception.
184184
185-
If you are using `@nestjs/platform-fastify` you can use `response.send()` instead of `response.json()`. Don't forget to import the correct types from `fastify`.
185+
> warning **Warning** If you are using `@nestjs/platform-fastify` you can use `response.send()` instead of `response.json()`. Don't forget to import the correct types from `fastify`.
186186
187187
like this:
188188

0 commit comments

Comments
 (0)