summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 22:00:23 -0500
committerJeff Carr <[email protected]>2025-10-14 22:00:23 -0500
commit2b2943425d69b2dfdb8c1f7af4a6fd2707328918 (patch)
treeaa099a0fe0daed46a600518b31f2979e6f327923 /errors.go
parente6fa4d421e9f253715da425e9953e17a5e47f48b (diff)
only use time pointers. it's much superior here
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 49126f7..0e07ec5 100644
--- a/errors.go
+++ b/errors.go
@@ -5,6 +5,7 @@ import "errors"
// try out standard generic errors
var NoTime error = errors.New("could not find a time")
+var NoDuration error = errors.New("could not find a duration")
var NoBytes error = errors.New("could not find bytes")
var IsNil error = errors.New("was sent nil")
var IsBlank error = errors.New("var was blank")