Files
gatus/storage/store/common/errors.go
T

8 lines
271 B
Go
Raw Normal View History

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