Tag
error-handling
Published articles tagged error-handling.
Exception filters in NestJS
Exception filters are where a NestJS application decides what an error looks like to the client. This chapter covers the built-in HTTP exceptions, attaching a cause, custom exception classes, writing a filter, and a catch-all filter that gives every error one shape.