Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcErrorToJson ¶
func GrpcErrorToJson(err *pb.ErrorResponse) string
GrpcErrorToJson takes a pointer to a gRPC ErrorResponse and returns a string containing the JSON representation of the error.
The function does not return an error and instead panics if the marshaling fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.