mirror of
https://github.com/ConvoyPanel/panel.git
synced 2026-06-24 02:16:19 +08:00
16 lines
512 B
PHP
16 lines
512 B
PHP
<?php
|
|
|
|
namespace Convoy\Exceptions\Repository\Proxmox;
|
|
|
|
use Illuminate\Http\Client\Response;
|
|
use Illuminate\Http\Client\RequestException;
|
|
use Convoy\Exceptions\Repository\RepositoryException;
|
|
|
|
class ProxmoxConnectionException extends RepositoryException
|
|
{
|
|
public function __construct(Response $response, RequestException $exception)
|
|
{
|
|
parent::__construct($response->reason() . PHP_EOL . $exception->getMessage() . PHP_EOL . $exception->getTraceAsString(), $exception->getCode(), $exception);
|
|
}
|
|
}
|