connection Error Message

protected fun connectionErrorMessage(): JSONObject

Function to set the RESPONSE_STATUS_KEY to send when an error during the connection occurred

No-any params required

Return

the error message as JSONObject


Parameters

connectionErrorMessage

: the error to send when a connection error occurred