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