Optional
Custom exception handler class.
Extend ExceptionHandler and override register() to configure custom reporting, rendering, and post-processing of exceptions.
register()
When not provided, DefaultExceptionHandler is used (standard severity-based logging and JSON error responses).
new Stratal({ module: AppModule, exceptionHandler: AppExceptionHandler,}) Copy
new Stratal({ module: AppModule, exceptionHandler: AppExceptionHandler,})
Logging configuration. Defaults: level=INFO, formatter='json'
Root application module
API versioning configuration. When provided, enables URI-based versioning for controllers.
Custom exception handler class.
Extend ExceptionHandler and override
register()to configure custom reporting, rendering, and post-processing of exceptions.When not provided, DefaultExceptionHandler is used (standard severity-based logging and JSON error responses).