Refer to samples dubbo-go-samples/error
The user can generate user-defined exception information on the provider side, and can record the exception generation stack. The triple protocol can ensure that the user can get the exception message on the client side, and can view the error stack, which is convenient for locating the problem.
Note that when returning an error other than nil, the framework is not responsible for the delivery of other return values.
You can see the error message and stack