Files
GseTDDUebungKCLR/database/phpMyAdmin/vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php
Riley Schneider b732d8d4b5 Initial Commit
2025-12-03 16:38:10 +01:00

16 lines
290 B
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));
}
}