@cruxpay/js-sdk
Version:
CruxPay Javascript SDK
65 lines (64 loc) • 3.66 kB
TypeScript
import { PackageErrorCode } from "./package-error-code";
export declare const ERROR_STRINGS: {
[PackageErrorCode.AddressMappingDecodingFailure]: string;
[PackageErrorCode.AddressNotAvailable]: string;
[PackageErrorCode.AssetIDNotAvailable]: string;
[PackageErrorCode.BlockstackIdInvalidStructure]: string;
[PackageErrorCode.BlockstackDomainInvalidStructure]: string;
[PackageErrorCode.BlockstackDomainNamespaceValidation]: string;
[PackageErrorCode.BlockstackIdInvalidSubdomainForTranslation]: string;
[PackageErrorCode.InvalidBlockstackDomainForTranslation]: string;
[PackageErrorCode.BlockstackIdNamespaceValidation]: string;
[PackageErrorCode.BnsEmptyData]: string;
[PackageErrorCode.BnsResolutionFailed]: string;
[PackageErrorCode.ExistingCruxIDFound]: string;
[PackageErrorCode.ClientNotInitialized]: string;
[PackageErrorCode.ConfigKeyManagerRequired]: string;
[PackageErrorCode.CouldNotFindAssetListInClientConfig]: string;
[PackageErrorCode.CouldNotFindBlockstackConfigurationServiceClientConfig]: string;
[PackageErrorCode.CouldNotFindIdentityKeyPairToPutAddressMapping]: string;
[PackageErrorCode.CouldNotFindKeyPairToRestoreIdentity]: string;
[PackageErrorCode.CouldNotFindKeyPairToRegisterName]: string;
[PackageErrorCode.CruxDomainInvalidStructure]: string;
[PackageErrorCode.CruxDomainNamespaceValidation]: string;
[PackageErrorCode.CruxIdNamespaceValidation]: string;
[PackageErrorCode.CruxIdInvalidStructure]: string;
[PackageErrorCode.CruxIDUnavailable]: string;
[PackageErrorCode.CurrencyDoesNotExistInClientMapping]: string;
[PackageErrorCode.DecryptionFailed]: string;
[PackageErrorCode.DifferentWalletCruxID]: string;
[PackageErrorCode.IsNotSupported]: string;
[PackageErrorCode.ExpectedEncryptionKeyValue]: string;
[PackageErrorCode.FetchPendingRegistrationsByAddressFailed]: string;
[PackageErrorCode.GaiaClientConfigUploadFailed]: string;
[PackageErrorCode.GaiaCruxPayUploadFailed]: string;
[PackageErrorCode.GaiaEmptyResponse]: string;
[PackageErrorCode.GetAddressMapFailed]: string;
[PackageErrorCode.GaiaCruxPayGetFailed]: string;
[PackageErrorCode.GaiaClientConfigGetFailed]: string;
[PackageErrorCode.GaiaGetFileFailed]: string;
[PackageErrorCode.GaiaProfileUploadFailed]: string;
[PackageErrorCode.GaiaUploadFailed]: string;
[PackageErrorCode.GetNamesByAddressFailed]: string;
[PackageErrorCode.InvalidPrivateKeyFormat]: string;
[PackageErrorCode.KeyPairMismatch]: string;
[PackageErrorCode.MissingCruxDomainInCruxOnBoardingClient]: string;
[PackageErrorCode.MissingCruxDomainInCruxWalletClient]: string;
[PackageErrorCode.MissingZoneFile]: string;
[PackageErrorCode.MissingNameOwnerAddress]: string;
[PackageErrorCode.MissingUserCruxAssetTranslator]: string;
[PackageErrorCode.NameIntegrityCheckFailed]: string;
[PackageErrorCode.PrivateKeyRequired]: string;
[PackageErrorCode.SubdomainLengthCheckFailure]: string;
[PackageErrorCode.SubdomainRegexMatchFailure]: string;
[PackageErrorCode.SubdomainRegistrationAcknowledgementFailed]: string;
[PackageErrorCode.SubdomainRegistrationFailed]: string;
[PackageErrorCode.GaiaRecordIntegrityFailed]: string;
[PackageErrorCode.UserDoesNotExist]: string;
[PackageErrorCode.IdentityMismatch]: string;
[PackageErrorCode.InvalidWalletClientName]: string;
[PackageErrorCode.InsecureNetworkCall]: string;
[PackageErrorCode.FailedToGetGaiaUrlFromZonefile]: string;
[PackageErrorCode.Response404]: string;
[PackageErrorCode.Response401]: string;
};