gatus/storage/store/common/errors.go

9 lines
269 B
Go
Raw Normal View History

2021-08-13 03:54:23 +02:00
package common
import "errors"
var (
ErrServiceNotFound = errors.New("service not found") // When a service does not exist in the store
ErrInvalidTimeRange = errors.New("'from' cannot be older than 'to'") // When an invalid time range is provided
)