GetIndexPrincipalError
GetIndexPrincipalError = {
GenericError: {description:string;error_code:bigint; }; } | {IndexPrincipalNotSet:null; }
Defined in: packages/canisters/src/declarations/cycles-ledger/cycles-ledger.d.ts:207
Type Declaration
Section titled “Type Declaration”{ GenericError: { description: string; error_code: bigint; }; }
GenericError
Section titled “GenericError”GenericError:
object
Any error not covered by the above variants.
GenericError.description
Section titled “GenericError.description”description:
string
GenericError.error_code
Section titled “GenericError.error_code”error_code:
bigint
{ IndexPrincipalNotSet: null; }
IndexPrincipalNotSet
Section titled “IndexPrincipalNotSet”IndexPrincipalNotSet:
null