UNPKG

lotus-sdk

Version:

Central repository for several classes of tools for integrating with, and building for, the Lotusia ecosystem

21 lines (20 loc) 624 B
import { BitcoreError } from '../errors.js'; const mnemonicErrorSpec = { name: 'Mnemonic', message: 'Internal Error on bitcore-mnemonic module {0}', errors: [ { name: 'InvalidEntropy', message: 'Entropy length must be an even multiple of 11 bits: {0}', }, { name: 'UnknownWordlist', message: 'Could not detect the used word list: {0}', }, { name: 'InvalidMnemonic', message: 'Mnemonic string is invalid: {0}', }, ], }; export const MnemonicError = BitcoreError.extend(mnemonicErrorSpec);