onFailed
A http response failed listener.
Using with Request: When the Response returns false, errorCode and errorMsg will return the code and message carried by the response itself. When the Response returns true but ResponseApi.isSuccessful return false, errorCode and errorMsg will return the code and message carried by ResponseApi.code and ResponseApi.message.
Using with ResponseBuilder: errorCode and errorMsg will return the code and message carried by ResponseApi.code and ResponseApi.message.