better error handling
This commit is contained in:
6
internal/types/errors.go
Normal file
6
internal/types/errors.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package types
|
||||
|
||||
import "errors"
|
||||
|
||||
var ErrKeyNotFound = errors.New("Key not found")
|
||||
var ErrShareNotFound = errors.New("Share not found")
|
||||
Reference in New Issue
Block a user