You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
532 B
30 lines
532 B
<?php
|
|
|
|
namespace Tansilu\HfPayLib\exception;
|
|
|
|
use Exception;
|
|
use Throwable;
|
|
|
|
class ParamsException extends Exception
|
|
{
|
|
protected string $errCode;
|
|
|
|
public function getErrCode(): string
|
|
{
|
|
return $this->errCode;
|
|
}
|
|
|
|
public function setErrCode(string $errCode): void
|
|
{
|
|
$this->errCode = $errCode;
|
|
}
|
|
|
|
public function __construct($message = "", $errCode = '', Throwable $previous = null)
|
|
{
|
|
$this->errCode = $errCode;
|
|
parent::__construct($message, 1, $previous);
|
|
}
|
|
|
|
|
|
|
|
} |