Skip to content

Commit

Permalink
Add an error proto to be returned by snuba RPc
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-sentry committed Oct 9, 2024
1 parent 781c5d6 commit 03f3644
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 03f3644

Please sign in to comment.