modern-events-calendar-lite/app/api/Campaign_Monitor/class/exceptions.php

11 lines
281 B
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?php
if (!class_exists('CurlException')) {
class CurlException extends \RuntimeException
{
public function __construct($curlMessage, $errorCode)
{
parent::__construct('Error making request with curl_error: ' . $curlMessage, $errorCode);
}
}
}