(errorType string, err error)
| 15 | } |
| 16 | |
| 17 | func makeLimitError(errorType string, err error) error { |
| 18 | return &validationError{ |
| 19 | errorType: errorType, |
| 20 | err: err, |
| 21 | code: http.StatusBadRequest, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | func makeMetricLimitError(errorType string, labels labels.Labels, err error) error { |
| 26 | return &validationError{ |
no outgoing calls