b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin/mainpay/vendor/thecodingmachine/safe/lib/Exceptions/
File Upload :
Current File : E:/www/b-group.old/spfin/mainpay/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));
    }
}

Copyright © 2019 by b0y-101