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.
23 lines
455 B
23 lines
455 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Yansongda\Pay\Exception;
|
|
|
|
use Throwable;
|
|
|
|
class InvalidSignException extends Exception
|
|
{
|
|
public mixed $callback;
|
|
|
|
public function __construct(
|
|
int $code = self::SIGN_ERROR,
|
|
string $message = '签名异常',
|
|
mixed $extra = null,
|
|
?Throwable $previous = null
|
|
) {
|
|
$this->callback = $extra;
|
|
|
|
parent::__construct($message, $code, $extra, $previous);
|
|
}
|
|
}
|
|
|