// Package common define common error variables package common import "errors" var ( // ErrUnsupportedParameterField indicates that a requested parameter field is not supported. ErrUnsupportedParameterField = errors.New("unsupported parameter field") // ErrInvalidParameterToken indicates that a token cannot represent a parameter. ErrInvalidParameterToken = errors.New("invalid parameter token") // ErrParameterTokenNotFound indicates that no parameter matches the token hierarchy. ErrParameterTokenNotFound = errors.New("parameter token not found") // ErrAmbiguousParameterToken indicates that a token matches more than one parameter. ErrAmbiguousParameterToken = errors.New("ambiguous parameter token") // ErrUnsupportedMeasurementField define error of unsupport measurement field ErrUnsupportedMeasurementField = errors.New("unsupported measurement field") // ErrInvalidMeasurementToken indicates that a token cannot represent a measurement. ErrInvalidMeasurementToken = errors.New("invalid measurement token") // ErrMeasurementTokenNotFound indicates that no measurement matches the token hierarchy. ErrMeasurementTokenNotFound = errors.New("measurement token not found") // ErrAmbiguousMeasurementToken indicates that a token matches more than one measurement. ErrAmbiguousMeasurementToken = errors.New("ambiguous measurement token") )