From 963cd2e04cade4c9ab89738e33fa0c6f77192933 Mon Sep 17 00:00:00 2001 From: Joao Teixeira Date: Fri, 22 May 2026 10:43:40 +0100 Subject: [PATCH] feat: generic key error --- pkg/plugin/keystore/errors/errors.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/plugin/keystore/errors/errors.go b/pkg/plugin/keystore/errors/errors.go index 9e65afc..875a4f5 100644 --- a/pkg/plugin/keystore/errors/errors.go +++ b/pkg/plugin/keystore/errors/errors.go @@ -36,6 +36,8 @@ var ( // StatusKeyNotFound indicates that the specified key was not found in the keystore provider. StatusKeyNotFound = status.New( codes.NotFound, "key not found in the keystore provider") + + StatusKeyGenericErr = status.New(codes.Unknown, "failed to get key") ) // NewGrpcErrorWithDetails creates a gRPC error with the given status and metadata mapping.