Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | 1x 1x 1x 1x 1x | import { ParameterValidationError, TaquitoError } from '@taquito/core';
/**
* @category Error
* @description Error that indicates an invalid or unparseable ledger response
*/
export class InvalidLedgerResponseError extends TaquitoError {
constructor(public readonly message: string) {
super();
this.name = 'InvalidLedgerResponseError';
}
}
/**
* @category Error
* @description Error that indicates a failure when trying to retrieve a Public Key from Ledger signer
*/
export class PublicKeyRetrievalError extends TaquitoError {
constructor(public readonly cause: any) {
super();
this.name = 'PublicKeyRetrievalError';
this.message = `Unable to retrieve Public Key from Ledger`;
}
}
/**
* @category Error
* @description Error that indicates a failure when trying to retrieve a Public Key Hash from Ledger signer
*/
export class PublicKeyHashRetrievalError extends TaquitoError {
constructor() {
super();
this.name = 'PublicKeyHashRetrievalError';
this.message = 'Unable to retrieve Public Key Hash from Ledger';
}
}
/**
* @category Error
* @description Error that indicates an invalid derivation type being passed or used
*/
export class InvalidDerivationTypeError extends ParameterValidationError {
constructor(public readonly derivationType: string) {
super();
this.name = 'InvalidDerivationTypeError';
this.message = `Invalid derivation type ${derivationType} expecting one of the following: DerivationType.ED25519, DerivationType.SECP256K1, DerivationType.P256 or DerivationType.BIP32_ED25519`;
}
}
|