Sindbad~EG File Manager

Current Path : /var/www/html/pma/vendor/thecodingmachine/safe/lib/Exceptions/
Upload File :
Current File : /var/www/html/pma/vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php

<?php


namespace Safe\Exceptions;

class CurlException extends \Exception implements SafeExceptionInterface
{
    /**
     * @param resource $ch
     */
    public static function createFromCurlResource($ch): self
    {
        return new self(\curl_error($ch), \curl_errno($ch));
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists