gatus/storage/store/common/errors.go

9 lines
271 B
Go
Raw Normal View History

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