gatus/storage/store/common/errors.go
2021-08-13 01:25:50 -04:00

9 lines
269 B
Go

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
)