code: public function createNotAllowedException($message, \Exception $lastException = null) {
          $exception = new AccessDeniedHttpException($message, $lastException);
  
          return $this->container->minionError($exception, 403);
      }
docs: {@inheritdoc}