Variable: X402_ERROR
const X402_ERROR: object;
Defined in: rine-core/dist/src/x402/errors.d.ts:2
Typed error codes for x402 policy enforcement and payload construction.
Type Declaration
| Name |
Type |
Defined in |
ALREADY_PAID |
"already-paid" |
rine-core/dist/src/x402/errors.d.ts:17 |
ASSET_NOT_ALLOWED |
"asset-not-allowed" |
rine-core/dist/src/x402/errors.d.ts:6 |
DAILY_CAP_EXCEEDED |
"daily-cap-exceeded" |
rine-core/dist/src/x402/errors.d.ts:8 |
INAUTHENTIC_SENDER |
"inauthentic-sender" |
rine-core/dist/src/x402/errors.d.ts:21 |
INVALID_AMOUNT |
"invalid-amount" |
rine-core/dist/src/x402/errors.d.ts:13 |
INVALID_NETWORK |
"invalid-network" |
rine-core/dist/src/x402/errors.d.ts:11 |
INVALID_POLICY |
"invalid-policy" |
rine-core/dist/src/x402/errors.d.ts:12 |
INVALID_REQUIREMENT |
"invalid-requirement" |
rine-core/dist/src/x402/errors.d.ts:10 |
MALFORMED_PAYLOAD |
"malformed-payload" |
rine-core/dist/src/x402/errors.d.ts:15 |
NETWORK_NOT_ALLOWED |
"network-not-allowed" |
rine-core/dist/src/x402/errors.d.ts:5 |
NO_ACCEPTABLE_REQUIREMENT |
"no-acceptable-requirement" |
rine-core/dist/src/x402/errors.d.ts:9 |
NO_POLICY |
"no-policy" |
rine-core/dist/src/x402/errors.d.ts:3 |
NO_QUOTE |
"no-quote" |
rine-core/dist/src/x402/errors.d.ts:19 |
NOT_X402_TYPE |
"not-x402-type" |
rine-core/dist/src/x402/errors.d.ts:14 |
PER_TX_CAP_EXCEEDED |
"per-tx-cap-exceeded" |
rine-core/dist/src/x402/errors.d.ts:7 |
REQUIREMENT_MISMATCH |
"requirement-mismatch" |
rine-core/dist/src/x402/errors.d.ts:18 |
SCHEME_UNSUPPORTED |
"scheme-unsupported" |
rine-core/dist/src/x402/errors.d.ts:4 |
UNKNOWN_ASSET_DECIMALS |
"unknown-asset-decimals" |
rine-core/dist/src/x402/errors.d.ts:20 |
WALLET_BUSY |
"wallet-busy" |
rine-core/dist/src/x402/errors.d.ts:16 |