code: func Cancelled(err error) error {
  	if err == nil || IsCancelled(err) {
  		return err
  	}
  	return errCancelled{err}
  }
docs: // Cancelled is a helper to create an error of the class with the same name from any error type