src.dualinventive.com/go/influxdb-logger/internal/device/errors.go

16 lines
468 B
Go

package device
import "errors"
// ErrInvalidClass is raised when the the class is invalid
var ErrInvalidClass = errors.New("invalid class")
// ErrNotFound is raised when the field info is not found
var ErrNotFound = errors.New("not found")
// ErrNoDevice is raised when there is no device
var ErrNoDevice = errors.New("no device")
// ErrInvalidType is raised when the value cannot be parsed due an invalid datatype
var ErrInvalidType = errors.New("invalid type")