Versions in this module Expand all Collapse all v5 v5.0.1 Apr 10, 2026 Changes in this version + func DecodeErrorFromStatus(ctx context.Context, err error) error + func MapToGRPC(err error, defaultCode codes.Code) codes.Code + func PrepareAndLogGRPCStatus(err error, logger logging.Logger, span tracing.Span, defaultCode codes.Code, ...) error + func RegisterGRPCErrorMapper(m GRPCErrorMapper) + func StreamErrorEncodingInterceptor() grpc.StreamServerInterceptor + func UnaryErrorEncodingInterceptor() grpc.UnaryServerInterceptor + type GRPCErrorMapper interface + Map func(err error) (code codes.Code, ok bool) + var PlatformMapper GRPCErrorMapper = platformMapper{} Other modules containing this package github.com/verygoodsoftwarenotvirus/platform github.com/verygoodsoftwarenotvirus/platform/v2 github.com/verygoodsoftwarenotvirus/platform/v3 github.com/verygoodsoftwarenotvirus/platform/v4