ErrorCallbackArgs
> ErrorCallbackArgs

Object passed to the error callback when the socket enters the ERROR state.

  • 1.7
  • 1.7
  • 1.7

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

ErrorCallbackArgs
: Number
Error code. ...

Error code. Returns a non-zero value.

If the error was generated by the operating system, that system's error value is used. Otherwise, this value will be -1.

  • 3.1.0
  • 3.1.0
  • 3.1.0

Overrides: FailureResponse.code

Error message, if any returned.

Error message, if any returned.

May be undefined.

Overrides: ErrorResponse.error

ErrorCallbackArgs
: Numberdeprecated
The error code of the error (potentially system-dependent). ...

The error code of the error (potentially system-dependent).

deprecated since 3.1.0

Socket that experienced the error.

Socket that experienced the error.

ErrorCallbackArgs
: Boolean
Indicates if the operation succeeded. ...

Indicates if the operation succeeded. Returns false.

Returns false.

  • 3.1.0
  • 3.1.0
  • 3.1.0

Overrides: FailureResponse.success