Briyah SDK - v2.0.6
    Preparing search index...

    Interface StoryErrorEvent

    Payload emitted on the 'story-error' event of the story message emitter.

    Fired when the story engine encounters a fatal error during room processing. Named 'story-error' rather than 'error' to avoid the Node.js behaviour of throwing an uncaught exception when an 'error' event has no listeners.

    Check event.errorType === 'InsufficientBalanceError' to detect balance failures and prompt the user to add credits.

    interface StoryErrorEvent {
        errorType?: string;
        message: string;
        timestamp: number;
        type: "story-error";
    }
    Index
    errorType?: string

    Error class name, e.g. 'InsufficientBalanceError'

    message: string
    timestamp: number
    type: "story-error"