From 03f3644cbcaf952a9805a6d83522fcf9f64d110a Mon Sep 17 00:00:00 2001 From: Colin Chartier Date: Wed, 9 Oct 2024 11:11:38 -0400 Subject: [PATCH] Add an error proto to be returned by snuba RPc --- proto/sentry_protos/snuba/v1/error.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 proto/sentry_protos/snuba/v1/error.proto diff --git a/proto/sentry_protos/snuba/v1/error.proto b/proto/sentry_protos/snuba/v1/error.proto new file mode 100644 index 0000000..e40c04e --- /dev/null +++ b/proto/sentry_protos/snuba/v1/error.proto @@ -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; +}