HEX
Server: LiteSpeed
System: Linux s787.bom1.mysecurecloudhost.com 4.18.0-477.13.1.lve.el8.x86_64 #1 SMP Thu Jun 1 16:40:47 EDT 2023 x86_64
User: mobilech (5348)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/mobilech/.trash/repair/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;
    }
}