Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { StatusCode int `json:"statusCode"` Type string `json:"type"` Message string `json:"message"` }
func HandleError ¶
func HandleError(err error) *ErrorResponse
Click to show internal directories.
Click to hide internal directories.