code: function normalizeError(err) {
    if (err && err.document && err.document.Error && err.document.Error.Message) {
      var e = new Error(err.document.Error.Message);
      e.name = err.document.Error.Code ? 'SQS:' + err.document.Error.Code : 'SQS:Error';
      throw e;
    } else {
      throw err;
    }
  }
docs: ## normalizeError
  
  Takes an error as an argument, and throws a better one if the error included a message
  from the server.
  
  @param {Error} err