Class: Error

Properties
isFatal boolean

Whether the error is fatal. Fatal errors cannot be recovered from and require the document to be reloaded.

message string

A message describing the error.

type gapi.drive.realtime.ErrorType

The type of the error that occurred.

Method
toString() string

Returns a string representation of the error object.

new Error(type, message, isFatal)

Parameters

Name Type Optional Description

type

gapi.drive.realtime.ErrorType

 

The type of the error that occurred.

Value must not be null.

message

string

 

A message describing the error.

isFatal

boolean

 

Whether the error is fatal.

Properties

isFatal  boolean

Whether the error is fatal. Fatal errors cannot be recovered from and require the document to be reloaded.

message  string

A message describing the error.

type  gapi.drive.realtime.ErrorType

The type of the error that occurred.

Method

toString() → string

Returns a string representation of the error object.

Returns

string A string representation of the error.

Send feedback about...

Realtime API
Realtime API