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
}
ResponseError ...
func NewError ¶
func NewError(code *int64, message *string, messageCn *string, errors []model.ApiErrorStruct) ResponseError
NewError ...
type ResponseStrictError ¶ added in v1.4.3
type ResponseStrictError struct {
Errors string
}
ResponseError ...
func NewResponseStrictError ¶ added in v1.4.3
func NewResponseStrictError(errors string) ResponseStrictError
NewResponseStrictError ...
func (ResponseStrictError) Error ¶ added in v1.4.3
func (e ResponseStrictError) Error() string
Error ...
Click to show internal directories.
Click to hide internal directories.