export class ConversionError extends Error {
    nodeId;
    stage;
    constructor(message, nodeId, stage, cause) {
        super(message);
        this.name = 'ConversionError';
        this.nodeId = nodeId;
        this.stage = stage;
        if (cause) {
            this.cause = cause;
        }
    }
}
