2019-06-19 17:18:01 +00:00
|
|
|
package logfile
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
2019-06-21 09:48:44 +00:00
|
|
|
var errorLogfileCreate = errors.New("Can not create logfile")
|
|
|
|
var errorLogfileDecode = errors.New("Can not decode from reader")
|
|
|
|
var errorLogfileEncode = errors.New("Can not encode from writer")
|
2019-06-21 11:37:29 +00:00
|
|
|
var errorLogfileMarshal = errors.New("Can not marshal values")
|
|
|
|
var errorLogfileNotFound = errors.New("Can not find logfile")
|
2019-06-21 09:48:44 +00:00
|
|
|
var errorLogfileOpen = errors.New("Can not open logfile")
|
2019-06-21 11:37:29 +00:00
|
|
|
var errorLogfileRead = errors.New("Can not read from given reader")
|
|
|
|
var errorLogfileUnmarshal = errors.New("Can not unmarshal values")
|
|
|
|
var errorLogfileWrite = errors.New("Can not write with given writer")
|
2019-06-21 09:48:44 +00:00
|
|
|
|
|
|
|
var errorParseFloat = errors.New("Can not parse float")
|
|
|
|
var errorParseTime = errors.New("Can not parse time")
|
|
|
|
|
|
|
|
var errorNoValidHumidityID = errors.New("No valid humidity id detected or available")
|
|
|
|
var errorNoValidMesuredValue = errors.New("No mesured value detected or available")
|
|
|
|
var errorNoValidSensorID = errors.New("No sensor id detected or available")
|
|
|
|
var errorNoValidTemperatureID = errors.New("No valid temperature id detected or available")
|
|
|
|
var errorNoValidTime = errors.New("No time detected or available")
|
|
|
|
var errorNoValidTimePeriods = errors.New("No valid time periods")
|