Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add inner error to rpc status #225

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}