code: func IsIndexingNotSupported(err error) bool {
  	switch err := err.(type) {
  	case *Error:
  		return err.Code == IndexingNotSupportedErr
  	}
  	return false
  }
docs: // IsIndexingNotSupported returns true if this error is a IndexingNotSupportedErr.