# 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.


# error

Availability
1.7
1.7
9.2.0
error :String

Error message, if any returned.

May be undefined.


# 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.