code: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
      {
          try {
              return $this->handle($request);
          } catch (OutOfBoundsException $e) {
              return $handler->handle($request);
          }
      }
docs: MiddlewareInterface