def raise_status_error
      message = format(
        'expected response stati: %s but got: %s, remote message: %s',
        expected_response_stati,
        response.status,
        remote_message.inspect
      )
      fail ProtocolError, message
    end
def raise_status_error
      message = format(
        'expected response stati: %s but got: %s, remote message: %s',
        expected_response_stati,
        response.status,
        remote_message.inspect
      )
      fail ProtocolError, message
    end
Raise remote status error

 @return [undefined]

 @api private