code: protected function render(ServerRequestInterface $request, array $methods):Message
      {
          $detail = 'Request => '.$request->getMethod().":".$request->getUri()->__toString()
              .'. Method not allowed. Must be one of '.implode(", ", $methods);
          $message = new Message();
          $message->add(static::TITLE, $detail)
              ->setStatus(static::HTTP_STATUS);
  
          return $message;
      }
docs: Renderiza el mensaje de error
  
  @param ServerRequestInterface $request Instancia de Request
  @param array                  $methods Array de metodos http disponibles
  
  @return Message