stellar-plus
Version:
beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain
33 lines (32 loc) • 1.43 kB
TypeScript
import { rpc as SorobanRpc } from '@stellar/stellar-sdk';
import { StellarPlusError } from '../../../stellar-plus/error';
export declare enum ContractEngineErrorCodes {
CE001 = "CE001",
CE002 = "CE002",
CE003 = "CE003",
CE004 = "CE004",
CE005 = "CE005",
CE101 = "CE101",
CE102 = "CE102",
CE103 = "CE103",
CE201 = "CE201",
CE202 = "CE202",
CE203 = "CE203",
CE204 = "CE204",
CE205 = "CE205"
}
export declare const CEError: {
contractIdAlreadySet: () => StellarPlusError;
contractInstanceNotFound: (ledgerEntries: SorobanRpc.Api.GetLedgerEntriesResponse) => StellarPlusError;
contractInstanceMissingLiveUntilLedgerSeq: (ledgerEntries?: SorobanRpc.Api.GetLedgerEntriesResponse) => StellarPlusError;
contractCodeNotFound: (ledgerEntries: SorobanRpc.Api.GetLedgerEntriesResponse) => StellarPlusError;
contractCodeMissingLiveUntilLedgerSeq: (ledgerEntries?: SorobanRpc.Api.GetLedgerEntriesResponse) => StellarPlusError;
failedToUploadWasm: (error: StellarPlusError) => StellarPlusError;
failedToDeployContract: (error: StellarPlusError) => StellarPlusError;
failedToWrapAsset: (error: StellarPlusError) => StellarPlusError;
missingContractId: () => StellarPlusError;
missingWasm: () => StellarPlusError;
missingWasmHash: () => StellarPlusError;
missingSpec: () => StellarPlusError;
missingSpecInWasm: () => StellarPlusError;
};