better error handling

This commit is contained in:
2022-06-03 14:27:40 +02:00
parent 2be2cc0626
commit 2f5cd563ad
5 changed files with 27 additions and 3 deletions

6
internal/types/errors.go Normal file
View File

@@ -0,0 +1,6 @@
package types
import "errors"
var ErrKeyNotFound = errors.New("Key not found")
var ErrShareNotFound = errors.New("Share not found")