@vechain/sdk-errors
Version:
This module is dedicated to managing and customizing errors within the VeChain SDK
13 lines (10 loc) • 319 B
text/typescript
import { VechainSDKError } from '../sdk-error';
import { type ObjectErrorData } from '../types';
/**
* Invalid cast type error.
*
* WHEN TO USE:
* * Error will be thrown when a method call or property read fails.
*/
class InvalidOperation extends VechainSDKError<ObjectErrorData> {}
export { InvalidOperation };