Skip to content

Commit

Permalink
update comment section
Browse files Browse the repository at this point in the history
  • Loading branch information
walldiss committed Jun 19, 2023
1 parent 248662f commit b69a396
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions share/getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ import (
var (
// ErrNotFound is used to indicate that requested data could not be found.
ErrNotFound = errors.New("share: data not found")
// ErrNamespaceNotFound is returned by GetSharesByNamespace when data for requested root does
// not include any shares from the given namespace
// ErrNamespaceNotFound is returned by GetSharesByNamespace when data for the requested root does
// not include any shares from the given namespace. If the target namespace belongs to the namespace range
// of any rows of the requested root, the error will be returned along with collected non-inclusion
// proofs for those rows. It is the obligation of the requester to verify non-inclusion proofs for all rows
// that could possibly contain the target namespace by calling the Verify method.
ErrNamespaceNotFound = errors.New("share: namespace not found in data")
)

Expand Down

0 comments on commit b69a396

Please sign in to comment.