Coding task · NestJS course · Module 2: Routing and Request Lifecycle
Custom Exception Filter
Create a custom exception filter with response formatting.
Task
Write a RomanExceptionFilter with @Catch(HttpException) that returns JSON with fields: statusCode, imperium, error, path, timestamp