UNPKG

stellar-plus

Version:

beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain

21 lines (20 loc) 990 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CAHError = exports.ClassicAssetHandlerErrorCodes = void 0; const error_1 = require("../../../stellar-plus/error"); var ClassicAssetHandlerErrorCodes; (function (ClassicAssetHandlerErrorCodes) { // CAH0 General ClassicAssetHandlerErrorCodes["CAH001"] = "CAH001"; })(ClassicAssetHandlerErrorCodes || (exports.ClassicAssetHandlerErrorCodes = ClassicAssetHandlerErrorCodes = {})); const issuerAccountNotDefined = () => { return new error_1.StellarPlusError({ code: ClassicAssetHandlerErrorCodes.CAH001, message: 'Issuer account not defined!', source: 'ClassicAssetHandler', details: "The issuer account is not defined. To access asset management functions, make sure to provide an AccountHandler for this asset's issuer account. This accountis required to parametrize and authorize these functions.", }); }; exports.CAHError = { issuerAccountNotDefined, };