github.com/songzhibin97/gkit@v1.2.13/errors/errors.proto (about)

     1  syntax = "proto3";
     2  
     3  package gkit.errors;
     4  
     5  option go_package = "./;errors";
     6  
     7  message Error {
     8    // code: status code
     9    int32 code = 1;
    10  
    11    // reason:
    12    string reason = 2;
    13  
    14    // message:
    15    string message = 3;
    16  
    17    // metadata:
    18    map<string, string> metadata = 4;
    19  }