Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute executes given command with args provided and writes error to response writer.
func SendError ¶
func SendError(rw http.ResponseWriter, err command.Error)
SendError sends command error as http response in generic error format.
func SendHTTPStatusError ¶
SendHTTPStatusError sends given http status code to response with error body.
Types ¶
Click to show internal directories.
Click to hide internal directories.