1
0
mirror of https://github.com/TwiN/gatus.git synced 2025-03-08 03:52:59 +01:00
gatus/storage/store/common/errors.go
TwiN 6ed93d4b82
Rename Service to Endpoint ()
* Add clarifications in comments

* : Rename Service to Endpoint
2021-10-23 16:47:12 -04:00

9 lines
271 B
Go

package common
import "errors"
var (
ErrEndpointNotFound = errors.New("endpoint not found") // When an endpoint does not exist in the store
ErrInvalidTimeRange = errors.New("'from' cannot be older than 'to'") // When an invalid time range is provided
)