@taquito/utils
Version:
converts michelson data and types into convenient JS/TS objects
22 lines (21 loc) • 1.1 kB
TypeScript
import { ParameterValidationError, UnsupportedActionError } from '@taquito/core';
export { InvalidAddressError, InvalidBlockHashError, InvalidHexStringError, InvalidMessageError, InvalidKeyError, InvalidPublicKeyError, InvalidSignatureError, InvalidContractAddressError, InvalidChainIdError, InvalidKeyHashError, InvalidOperationHashError, InvalidOperationKindError, DeprecationError, ProhibitedActionError, } from '@taquito/core';
/**
* @category Error
* @description Error that indicates invalid protocol hash being passed or used
*/
export declare class InvalidProtocolHashError extends ParameterValidationError {
readonly protocolHash: string;
readonly errorDetails?: string | undefined;
name: string;
constructor(protocolHash: string, errorDetails?: string | undefined);
}
/**
* @category Error
* @description Error that indicates unable to convert data type from one to another
*/
export declare class ValueConversionError extends UnsupportedActionError {
readonly value: string;
readonly desiredType: string;
constructor(value: string, desiredType: string);
}