/**
 * Error thrown when a structured agent call fails to produce valid output.
 */
export class StructuredCallError extends Error {
    code;
    cause;
    constructor(message, code, cause) {
        super(message);
        this.code = code;
        this.cause = cause;
        this.name = 'StructuredCallError';
    }
}
