// ErrorType decodes the error to determine the error type // that the metrics understand. func ErrorType(err error) ValidationErrorType { … }
// ErrorType decodes the error to determine the error type // that the metrics understand. func ErrorType(err error) ValidationErrorType { … }