import { VechainSDKError } from '../sdk-error'; import { type ObjectErrorData } from '../types'; /** * Cannot find transaction error. * * WHEN TO USE: * * Error will be thrown when the transaction is not into the blockchain. */ class ContractDeploymentFailed extends VechainSDKError {} /** * Error when calling a read function on a contract. * * WHEN TO USE: * * Error will be thrown when a read (call) operation fails. */ class ContractCallError extends VechainSDKError {} export { ContractCallError, ContractDeploymentFailed };