# ErrorCallbackArgs

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

Availability
1.7
1.7
9.2.0

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# code

Availability
3.1.0
3.1.0
9.2.0
code :Number

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.


# errorCode DEPRECATED

Availability
1.7
1.7
errorCode :Number

DEPRECATED SINCE 3.1.0

Use the code property for a numeric error code.

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


# socket

Availability
1.7
1.7
9.2.0

Socket that experienced the error.


# success

Availability
3.1.0
3.1.0
9.2.0
success :Boolean

Indicates if the operation succeeded. Returns false.

Returns false.