File "CurlException.php"
Full path: E:/sites/Single15/tinmung2007/webroot/XAMMP/phpMyAdmin/vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php
File size: 290 B
MIME-type:
Charset: utf-8
<?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));
}
}