Skip to content

Titanium.Network.Socket.ErrorCallbackArgs

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

Extends: FailureResponse · Since: 1.7

Properties #

code#

Type: 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#

extended

Type: String

Error message, if any returned.

May be undefined.

socket#

Type: Titanium.Network.Socket.TCP

Socket that experienced the error.

success#

Type: Boolean

Indicates if the operation succeeded. Returns false.

Returns false.

Titanium SDK Documentation