ClientSDKError

Base error class with typed error codes.

Field
Type
Required

code

number

message

string

metadata

object

Error Codes

Code
Description

Network Errors

UNSUPPORTED_NETWORK

Unsupported network

Data Errors

NOT_FOUND

Resource not found

INVALID_INPUT

Invalid parameters

MISSING_TOKENS

Missing required tokens to purchase

UNSUPPORTED_TYPE

Unsupported product type (Only support the following types: AppType.Edition, AppType.BurnRedeem, AppType.BlindMInt)

Blockchain Errors

ESTIMATION_FAILED

Can’t estimate gas

TRANSACTION_FAILED

Transaction reverted

LEDGER_ERROR

Ledger wallet error

TRANSACTION_REVERTED

Transaction revert

TRANSACTION_REJECTED

User rejected

INSUFFICIENT_FUNDS

Wallet does not have the required funds

Permission Errors

NOT_ELIGIBLE

Not eligible to purchase

SOLD_OUT

Product sold out

LIMIT_REACHED

Limit reach for wallet

ENDED

Product not available anymore

NOT_STARTED

Not started, come back late

Last updated