code: func StandardizeBadPointerError(err error) error {
  	if IsBadPointerKeyError(err) {
  		badErr := err.(badPointerKeyError)
  		if badErr.Expected == "version" {
  			return NewNotAPointerError(err)
  		}
  	}
  	return err
  }
docs: // If an error is abad pointer error of any type, returns NotAPointerError