github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/protobuf/errors.proto (about)

     1  syntax = "proto3";
     2  
     3  package errors;
     4  
     5  option go_package = "github.com/hyperledger/burrow/execution/errors";
     6  
     7  import "gogoproto/gogo.proto";
     8  
     9  option (gogoproto.stable_marshaler_all) = true;
    10  // Enable custom Marshal method.
    11  option (gogoproto.marshaler_all) = true;
    12  // Enable custom Unmarshal method.
    13  option (gogoproto.unmarshaler_all) = true;
    14  // Enable custom Size method (Required by Marshal and Unmarshal).
    15  option (gogoproto.sizer_all) = true;
    16  // Enable registration with golang/protobuf for the grpc-gateway.
    17  option (gogoproto.goproto_registration) = true;
    18  // Enable generation of XXX_MessageName methods for grpc-go/status.
    19  option (gogoproto.messagename_all) = true;
    20  
    21  message Exception {
    22      option (gogoproto.goproto_stringer) = false;
    23      uint32 Code = 1 [(gogoproto.customname) = "CodeNumber"];
    24      string Exception = 2;
    25  }