fix ErrorOccurredEvent structure for errorOccurred

This commit is contained in:
Elijah Duffy
2026-04-30 16:36:43 -07:00
parent b7c619c872
commit 99264dca61

View File

@@ -1430,6 +1430,7 @@ interface FaceLandmarkDetectedEvent {
} }
interface ErrorOccurredEvent { interface ErrorOccurredEvent {
error: {
/** Additional error details. */ /** Additional error details. */
details?: Record<string, unknown>; details?: Record<string, unknown>;
/** The error message. */ /** The error message. */
@@ -1440,6 +1441,7 @@ interface ErrorOccurredEvent {
type: ErrorType; type: ErrorType;
/** Whether this is a fatal error which triggered a reconnect overlay. */ /** Whether this is a fatal error which triggered a reconnect overlay. */
isFatal: boolean; isFatal: boolean;
};
} }
interface KnockingParticipantEvent { interface KnockingParticipantEvent {