Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { Code int `json:"code"` Message string `json:"message"` Errors map[string][]string `json:"errors"` }
func NewError ¶
func NewError(err error) ErrorResponse
Click to show internal directories.
Click to hide internal directories.