aboutsummaryrefslogtreecommitdiff
path: root/internal/ingest
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-27 00:13:16 -0800
committerFuwn <[email protected]>2026-02-27 00:13:16 -0800
commit3e9b532ecaee972af2963ad7806515639f1d3f30 (patch)
tree1dbb57848838246fa44b36726d81d03c0da02dea /internal/ingest
parentfeat: Apply Iku formatting (diff)
downloadplutia-test-3e9b532ecaee972af2963ad7806515639f1d3f30.tar.xz
plutia-test-3e9b532ecaee972af2963ad7806515639f1d3f30.zip
chore: improve user-facing API copy clarity and consistency
Diffstat (limited to 'internal/ingest')
-rw-r--r--internal/ingest/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ingest/service.go b/internal/ingest/service.go
index a6f7cd7..e318422 100644
--- a/internal/ingest/service.go
+++ b/internal/ingest/service.go
@@ -56,7 +56,7 @@ type MetricsSink interface {
}
var (
- ErrDIDNotFound = errors.New("did not found")
+ ErrDIDNotFound = errors.New("DID not found")
ErrHistoryNotStored = errors.New("history not available in current mode")
)
@@ -666,7 +666,7 @@ func (s *Service) VerifyDID(ctx context.Context, did string) error {
}
if !ok {
- return fmt.Errorf("did not found")
+ return fmt.Errorf("DID not found")
}
return nil