- Mehrfach-Upload von PDF-Kontoauszügen mit automatischer Metadaten-Erkennung - Dashboard mit Übersichts-Widgets (letzte Buchungen und Kontoauszüge) - Menü-Integration unter "Banken und Kasse" statt eigenem Top-Menü - Erinnerungsfunktion bei veralteten Kontoauszügen (konfigurierbar) - Verknüpfung von Buchungen mit PDF-Kontoauszügen - Auszugsnummer wird automatisch aus dem Zeitraum abgeleitet (Monat/Jahr) - Jahrfilter zeigt nur Jahre mit vorhandenen Kontoauszügen - Modul-Icon auf fa-money-check-alt gesetzt - README und ChangeLog aktualisiert - .gitignore für Kontoauszüge und Build-Artefakte hinzugefügt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
50 lines
981 B
PHP
Executable file
50 lines
981 B
PHP
Executable file
<?php
|
|
|
|
namespace Fhp;
|
|
|
|
class CurlException extends \Exception
|
|
{
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $curlInfo;
|
|
|
|
/**
|
|
* @var string|null
|
|
*/
|
|
protected $response;
|
|
|
|
/**
|
|
* @var string|null
|
|
*/
|
|
protected $curlMessage;
|
|
|
|
public function __construct(string $message, ?string $response, int $code = 0, array $curlInfo = [], ?string $curlMessage = null)
|
|
{
|
|
parent::__construct($message, $code, null);
|
|
$this->response = $response;
|
|
$this->curlInfo = $curlInfo;
|
|
$this->curlMessage = $curlMessage;
|
|
}
|
|
|
|
public function getResponse(): ?string
|
|
{
|
|
return $this->response;
|
|
}
|
|
|
|
/**
|
|
* Gets the curl info from request / response.
|
|
*/
|
|
public function getCurlInfo(): array
|
|
{
|
|
return $this->curlInfo;
|
|
}
|
|
|
|
/**
|
|
* Gets the curl message from request / response.
|
|
*/
|
|
public function getCurlMessage(): ?string
|
|
{
|
|
return $this->curlMessage;
|
|
}
|
|
}
|