docs: function detectResponseError(response) {
    if (response.statusCode && (response.statusCode < 200 || response.statusCode >= 300)) {
      return {
        status: response.statusCode,
        message: response.body || response.message || response
      }
    }
  }