summaryrefslogtreecommitdiffstats
path: root/internal/models/errors.go
diff options
context:
space:
mode:
authorYulqen <246857+yulqen@users.noreply.github.com>2024-04-18 13:58:11 +0100
committerGitHub <noreply@github.com>2024-04-18 13:58:11 +0100
commit69017cc225e2754466b8444ca42cb1122208425d (patch)
tree6a7ac8d150b95c1fad9229d124a23737abc17964 /internal/models/errors.go
parent530f08071fc1295fabdaedf9724b8cda48780927 (diff)
parentf08ac7b887e0bae0cb67362eec90a575faec07f1 (diff)
Merge pull request #4 from defencedigital/changes
Changes
Diffstat (limited to 'internal/models/errors.go')
-rw-r--r--internal/models/errors.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/models/errors.go b/internal/models/errors.go
new file mode 100644
index 0000000..a70c7dc
--- /dev/null
+++ b/internal/models/errors.go
@@ -0,0 +1,7 @@
+package models
+
+import (
+ "errors"
+)
+
+var ErrNoRecord = errors.New("models: no matching record found")