Interceptor constructor

const Interceptor({
  1. ExceptionHandler handler = const ExceptionHandler.plainText(),
})

Create a Interceptor middleware.

Implementation

const Interceptor({
  this.handler = const ExceptionHandler.plainText(),
});