Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeToHttp ¶
func GetTranslate ¶
Types ¶
type ErrorResponse ¶ added in v2.3.0
type ErrorResponse struct { Code int `json:"-"` ID string `json:"id"` Text string `json:"text"` Errors []ValidateError `json:"errors,omitempty"` }
func UnwrapError ¶ added in v2.3.0
func UnwrapError(c *gin.Context, err error, lang string) ErrorResponse
type ValidateError ¶
Click to show internal directories.
Click to hide internal directories.