Which NestJS mechanism is best suited to log all unhandled exceptions centrally, supporting post-incident risk analysis?
-
A
A global ExceptionFilter registered with useGlobalFilters()
-
B
A middleware registered in AppModule
-
C
A lifecycle hook in OnModuleInit
-
D
An interceptor that wraps all handlers