Skip to content

Commit

Permalink
add inner error to rpc status (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar authored Dec 5, 2023
1 parent 2c8cb25 commit 71da888
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cs3/rpc/v1beta1/status.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ syntax = "proto3";
package cs3.rpc.v1beta1;

import "cs3/rpc/v1beta1/code.proto";
import "cs3/types/v1beta1/types.proto";

option csharp_namespace = "Cs3.Rpc.V1Beta1";
option go_package = "rpcv1beta1";
Expand Down Expand Up @@ -50,4 +51,10 @@ message Status {
// A Status message with CODE_REDIRECT MUST always set the target_uri.
// https://golang.org/pkg/net/url/#URL provides a quick view of the format.
string target_uri = 4;
// OPTIONAL.
// InnerError represents an encoded error.
// This makes it possible to transport error types
// and match them on the client side by type.
// The InnerError pattern originates from graph.
cs3.types.v1beta1.OpaqueEntry InnerError = 5;
}

0 comments on commit 71da888

Please sign in to comment.