src/Payum/Core/Exception/RequestNotSupportedException.php
public static function create($request)
    {
        $exception = new self(sprintf(
            'Request %s is not supported. %s',
            Humanify::request($request),
            implode(" ", static::suggestions($request))
        ));

        $exception->request = $request;

        return $exception;
    }
public static function create($request)
    {
        $exception = new self(sprintf(
            'Request %s is not supported. %s',
            Humanify::request($request),
            implode(" ", static::suggestions($request))
        ));

        $exception->request = $request;

        return $exception;
    }
@param mixed $request

@return RequestNotSupportedException