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.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/back/cmd/authfs/err.go b/back/cmd/authfs/err.go
index 4f4dbbf..7c2b192 100644
--- a/back/cmd/authfs/err.go
+++ b/back/cmd/authfs/err.go
@@ -3,9 +3,12 @@ package main
import "errors"
var (
- ErrFileExist = errors.New("file already exists")
- ErrFileNotExist = errors.New("file does not exist")
+ ErrCreateNonDir = errors.New("cannot create in non-directory")
ErrFidExist = errors.New("fid already exists")
ErrFidNotExist = errors.New("fid does not exist")
+ ErrFileExist = errors.New("file already exists")
+ ErrFileNotExist = errors.New("file does not exist")
+ ErrNewFidExist = errors.New("newfid already exists")
ErrPerm = errors.New("permission denied")
+ ErrWalkNonDir = errors.New("cannot walk in non-directory")
)