- Fix: Notifiable-Trait zum User-Model hinzugefuegt (behebt notify()-500er) - Installer: SMTP-Verbindungstest mit EsmtpTransport + Ueberspringen-Link - Admin: Neuer E-Mail-Tab mit SMTP-Konfiguration + Verbindungstest - Admin: Lazy Quill-Initialisierung (nur sichtbare Locale wird geladen) - Uebersetzungen: 17 neue Mail-Keys in allen 6 Sprachen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
316 B
PHP
15 lines
316 B
PHP
<?php
|
|
|
|
namespace Safe\Exceptions;
|
|
|
|
class CurlException extends \Exception implements SafeExceptionInterface
|
|
{
|
|
/**
|
|
* @param \CurlHandle $ch
|
|
*/
|
|
public static function createFromPhpError($ch = null): self
|
|
{
|
|
return new self($ch ? \curl_error($ch) : '', $ch ? \curl_errno($ch) : 0);
|
|
}
|
|
}
|