modifs.mineures sans commentaires
This commit is contained in:
parent
255a68315a
commit
506fbb1390
|
@ -6,8 +6,8 @@ use Throwable;
|
|||
|
||||
class CurlException extends UserException {
|
||||
function __construct($ch, ?string $message=null, $code=0, ?Throwable $previous=null) {
|
||||
$user_message = $message;
|
||||
if ($message === null) $message = "(unknown error)";
|
||||
$user_message = $message;
|
||||
$tech_message = null;
|
||||
if ($ch !== null) {
|
||||
$parts = [];
|
||||
|
|
Loading…
Reference in New Issue