Share via


ServerEventError interface

Returned when an error occurs, which could be a client problem or a server problem. Most errors are recoverable and the session will stay open, we recommend to implementors to monitor and log error messages by default.

Extends

Properties

error

Details of the error.

type

The event type, must be error.

Inherited Properties

eventId

Property Details

error

Details of the error.

error: ServerEventErrorDetails

Property Value

type

The event type, must be error.

type: "error"

Property Value

"error"

Inherited Property Details

eventId

eventId?: string

Property Value

string

Inherited From ServerEvent.eventId