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.
Directories
¶
| Path | Synopsis |
|---|---|
|
card_errors
|
|
|
merchant_document_errors
|
|
|
merchant_errors
|
|
|
refresh_token_errors
|
|
|
role_errors
|
|
|
saldo_errors
|
|
|
topup_errors
|
|
|
transaction_errors
|
|
|
transfer_errors
|
|
|
user_errors
|
|
|
user_role_errors
|
|
|
withdraw_errors
|
|
Click to show internal directories.
Click to hide internal directories.