mirror of
https://github.com/nikdoof/vsphere-influxdb-go.git
synced 2025-12-19 05:29:21 +00:00
add vendoring with go dep
This commit is contained in:
14
vendor/github.com/influxdata/influxdb/services/graphite/errors.go
generated
vendored
Normal file
14
vendor/github.com/influxdata/influxdb/services/graphite/errors.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package graphite
|
||||
|
||||
import "fmt"
|
||||
|
||||
// An UnsupportedValueError is returned when a parsed value is not
|
||||
// supported.
|
||||
type UnsupportedValueError struct {
|
||||
Field string
|
||||
Value float64
|
||||
}
|
||||
|
||||
func (err *UnsupportedValueError) Error() string {
|
||||
return fmt.Sprintf(`field "%s" value: "%v" is unsupported`, err.Field, err.Value)
|
||||
}
|
||||
Reference in New Issue
Block a user