Put in order · NestJS course · Module 6: Error Handling and Monitoring

Global Filter with DI

Arrange the syntax for registering a global filter with Dependency Injection in a module

Items to put in order

  • useClass: LegionHttpExceptionFilter }
  • { provide: APP_FILTER,
  • providers: [
  • ]

You can check the correct answer by solving this task in the CodeWorlds game.