dolibarr.bankimport/vendor/nemiah/php-fints/lib/Fhp/CurlException.php
data 94efa59df3 v1.7: Multi-invoice payments and payment unlinking
- Add multi-invoice payment support (link one bank transaction to multiple invoices)
- Add payment unlinking feature to correct wrong matches
- Show linked payments, invoices and bank entries in transaction detail view
- Allow linking already paid invoices to bank transactions
- Update README with new features
- Add CHANGELOG.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-20 09:00:05 +01:00

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;
}
}