first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user