code: function detectResponseError(response) {
    if (response.statusCode && (response.statusCode < 200 || response.statusCode >= 300)) {
      return {
        status: response.statusCode,
        message: response.body || response.message || response
      }
    }
  }
docs: this method detects whther the response status is < 200 or > 300 in case the error
  is not caught by the actualy request framework
  @param response the response
  @returns {{status: *, message: (*|{statusCode}|Object)}}