isHistogramValidationError checks if the error is a native histogram validation error.
(err error)
| 83 | |
| 84 | // isHistogramValidationError checks if the error is a native histogram validation error. |
| 85 | func isHistogramValidationError(err error) bool { |
| 86 | var e histogram.Error |
| 87 | return errors.As(err, &e) |
| 88 | } |
| 89 | |
| 90 | // Store implements remoteapi.writeStorage interface. |
| 91 | // TODO(bwplotka): Improve remoteapi.Store API. Right now it's confusing if PRWv1 flows should use WriteResponse or not. |