@usdctofiat/offramp
@usdctofiat/offramp / OFFRAMP_ERROR_CODES
Variable: OFFRAMP_ERROR_CODES
constOFFRAMP_ERROR_CODES:object
Defined in: packages/offramp-sdk/src/types.ts:4
Type Declaration
APPROVAL_FAILED
readonlyAPPROVAL_FAILED:"APPROVAL_FAILED"="APPROVAL_FAILED"
CONFIRMATION_FAILED
readonlyCONFIRMATION_FAILED:"CONFIRMATION_FAILED"="CONFIRMATION_FAILED"
DELEGATION_FAILED
readonlyDELEGATION_FAILED:"DELEGATION_FAILED"="DELEGATION_FAILED"
DEPOSIT_FAILED
readonlyDEPOSIT_FAILED:"DEPOSIT_FAILED"="DEPOSIT_FAILED"
EXTENSION_REGISTRATION_REQUIRED
readonlyEXTENSION_REGISTRATION_REQUIRED:"EXTENSION_REGISTRATION_REQUIRED"="EXTENSION_REGISTRATION_REQUIRED"
Curator rejected the maker because the user has not registered this
handle in the Peer extension yet. Thrown from offramp() for PayPal
and Wise when /v2/makers/create returns 400 or a "creating the maker"
message. Recover by prompting the user through the Peer extension via
usePeerExtensionRegistration(platform) (React) or
completePeerExtensionRegistration(...), then retrying offramp().
REGISTRATION_FAILED
readonlyREGISTRATION_FAILED:"REGISTRATION_FAILED"="REGISTRATION_FAILED"
UNSUPPORTED
readonlyUNSUPPORTED:"UNSUPPORTED"="UNSUPPORTED"
USER_CANCELLED
readonlyUSER_CANCELLED:"USER_CANCELLED"="USER_CANCELLED"
VALIDATION
readonlyVALIDATION:"VALIDATION"="VALIDATION"