Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseError ¶
type ResponseError struct { Code int64 `json:"code,omitempty"` Message string `json:"message,omitempty"` MessageCn string `json:"message_cn,omitempty"` Errors []model.ApiErrorStruct `json:"errors,omitempty"` // contains filtered or unexported fields }
func NewError ¶
func NewError(code int64, message string, messageCn string, errors []model.ApiErrorStruct) ResponseError
func (ResponseError) Error ¶
func (e ResponseError) Error() string
Click to show internal directories.
Click to hide internal directories.