UNPKG

@starknet-io/types-js

Version:

Shared TypeScript definitions for Starknet projects

30 lines 824 B
export interface NOT_ERC20 { code: 111; message: 'An error occurred (NOT_ERC20)'; } export interface UNLISTED_NETWORK { code: 112; message: 'An error occurred (UNLISTED_NETWORK)'; } export interface USER_REFUSED_OP { code: 113; message: 'An error occurred (USER_REFUSED_OP)'; } export interface INVALID_REQUEST_PAYLOAD { code: 114; message: 'An error occurred (INVALID_REQUEST_PAYLOAD)'; } export interface ACCOUNT_ALREADY_DEPLOYED { code: 115; message: 'An error occurred (ACCOUNT_ALREADY_DEPLOYED)'; } export interface API_VERSION_NOT_SUPPORTED { code: 162; message: 'An error occurred (API_VERSION_NOT_SUPPORTED)'; data: 'string'; } export interface UNKNOWN_ERROR { code: 163; message: 'An error occurred (UNKNOWN_ERROR)'; } //# sourceMappingURL=errors.d.ts.map