\Yansongda\Pay\ExceptionsBusinessException

Summary

Methods
Properties
Constants
__construct()
$raw
UNKNOWN_ERROR
INVALID_GATEWAY
INVALID_CONFIG
INVALID_ARGUMENT
ERROR_GATEWAY
INVALID_SIGN
ERROR_BUSINESS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

UNKNOWN_ERROR

UNKNOWN_ERROR = 9999

INVALID_GATEWAY

INVALID_GATEWAY = 1

INVALID_CONFIG

INVALID_CONFIG = 2

INVALID_ARGUMENT

INVALID_ARGUMENT = 3

ERROR_GATEWAY

ERROR_GATEWAY = 4

INVALID_SIGN

INVALID_SIGN = 5

ERROR_BUSINESS

ERROR_BUSINESS = 6

Properties

$raw

$raw : array

Raw error info.

Type

array

Methods

__construct()

__construct(string  $message, array|string  $raw = []) : mixed

Bootstrap.

Parameters

string $message
array|string $raw

Returns

mixed —