Skip to content

Commit

Permalink
Merge pull request #47 from getsentry/error_proto
Browse files Browse the repository at this point in the history
Add an error proto to be returned by snuba RPC
  • Loading branch information
colin-sentry authored Oct 9, 2024
2 parents 7168dff + 03f3644 commit fa484d5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions proto/sentry_protos/snuba/v1/error.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
syntax = "proto3";

package sentry_protos.snuba.v1;

import "google/protobuf/any.proto";

message Error {
// The HTTP status code corresponding to this error
int32 code = 1;

// The developer-facing message
string message = 2;

// Additional error information
repeated google.protobuf.Any details = 3;
}

0 comments on commit fa484d5

Please sign in to comment.