ok

Mini Shell

Direktori : /home2/selectio/www/innerstore/vendor/facade/flare-client-php/src/Http/Exceptions/
Upload File :
Current File : /home2/selectio/www/innerstore/vendor/facade/flare-client-php/src/Http/Exceptions/BadResponse.php

<?php

namespace Facade\FlareClient\Http\Exceptions;

use Exception;
use Facade\FlareClient\Http\Response;

class BadResponse extends Exception
{
    /** @var \Facade\FlareClient\Http\Response */
    public $response;

    public static function createForResponse(Response $response)
    {
        $exception = new static("Could not perform request because: {$response->getError()}");

        $exception->response = $response;

        return $exception;
    }
}

Zerion Mini Shell 1.0