PipelineExceptionHandler constructor
const
PipelineExceptionHandler({
- String? pipeline,
Constructor for pipeline exception handler annotations.
The optional pipeline
name identifies the pipeline the exception handler
is for. If it is not provided, the exception handler is for the default
pipeline.
Note: page not found exceptions are not processed by pipeline exception handlers, but by the server exception handler. That exception handler should be annotated with the ServerExceptionHandler class.
Implementation
const PipelineExceptionHandler({String? pipeline})
: pipeline = pipeline ?? ServerPipeline.defaultName;