summaryrefslogtreecommitdiffstats
path: root/back/cmd/authfs/err.go
diff options
context:
space:
mode:
Diffstat (limited to 'back/cmd/authfs/err.go')
-rw-r--r--back/cmd/authfs/err.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/back/cmd/authfs/err.go b/back/cmd/authfs/err.go
new file mode 100644
index 0000000..81da2ba
--- /dev/null
+++ b/back/cmd/authfs/err.go
@@ -0,0 +1,10 @@
+package main
+
+import "errors"
+
+var (
+ ErrFileExist = errors.New("file already exists")
+ ErrFileNotExist = errors.New("file does not exist")
+ ErrFidExist = errors.New("fid already exists")
+ ErrFidNotExist = errors.New("fid does not exist")
+)