"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LlmStreamErrorEmittedError = void 0;
class LlmStreamErrorEmittedError extends Error {
    detail;
    i18nStopReason;
    constructor(args) {
        super(args.message ?? args.detail);
        this.name = 'LlmStreamErrorEmittedError';
        this.detail = args.detail;
        this.i18nStopReason = args.i18nStopReason;
    }
}
exports.LlmStreamErrorEmittedError = LlmStreamErrorEmittedError;
