stellar-plus
Version:
beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain
18 lines (17 loc) • 791 B
TypeScript
import { StellarPlusError } from '../../../../stellar-plus/error';
export declare enum FreighterAccountHandlerErrorCodes {
FAH001 = "FAH001",
FAH002 = "FAH002",
FAH003 = "FAH003",
FAH004 = "FAH004",
FAH005 = "FAH005",
FAH006 = "FAH006"
}
export declare const FAHError: {
connectedToWrongNetworkError: (targetNetworkName: string, error?: Error) => StellarPlusError;
failedToLoadPublicKeyError: (error?: Error) => StellarPlusError;
failedToSignTransactionError: (error?: Error) => StellarPlusError;
freighterIsNotConnectedError: (error?: Error) => StellarPlusError;
failedToSignAuthEntryError: (error?: Error) => StellarPlusError;
cannotSignForThisNetwork: (entryNetwork: string, freighterNetwork: string, error?: Error) => StellarPlusError;
};