Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResult ¶
type ErrorResult struct {
// http code
Code int `json:"code"`
// The custom code
SubCode int `json:"subCode"`
Msg string `json:"msg"`
}
func (*ErrorResult) Error ¶
func (e *ErrorResult) Error() string
Error implements the Error interface.
Click to show internal directories.
Click to hide internal directories.