UNPKG

@vechain/sdk-errors

Version:

This module is dedicated to managing and customizing errors within the VeChain SDK

21 lines (17 loc) 524 B
import { VechainSDKError } from '../sdk-error'; import { type ObjectErrorData } from '../types'; /** * Invalid keystore error. * * WHEN TO USE: * * Error will be thrown when the keystore is invalid. */ class InvalidKeystore extends VechainSDKError<ObjectErrorData> {} /** * Invalid keystore params error. * * WHEN TO USE: * * Error will be thrown when the keystore params are invalid. */ class InvalidKeystoreParams extends VechainSDKError<ObjectErrorData> {} export { InvalidKeystore, InvalidKeystoreParams };