Skip to content

Commit 8812960

Browse files
Add a namespace not found Error type
1 parent f6f0743 commit 8812960

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x/x.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ var (
6565
ErrConflict = errors.New("Transaction conflict")
6666
// ErrHashMismatch is returned when the hash does not matches the startTs
6767
ErrHashMismatch = errors.New("hash mismatch the claimed startTs|namespace")
68+
// ErrNamespaceNotFound is returned when a namespace is not found.
69+
ErrNamespaceNotFound = errors.New("namespace not found")
6870
)
6971

7072
const (

0 commit comments

Comments
 (0)