Files
grzanieplus.pl/plugins/stPaczkomatyPlugin/lib/stInPostApiTransactionException.class.php
2025-03-12 17:06:23 +01:00

23 lines
407 B
PHP

<?php
class stInPostApiTransactionException extends stInPostApiException
{
/**
* Nazwa błędu
*
* @var string|null
*/
protected $error;
public function __construct(string $message, ?string $error = null)
{
parent::__construct($message);
$this->error = $error;
}
public function getError(): ?string
{
return $this->error;
}
}