Versions in this module Expand all Collapse all v0 v0.1.1 Nov 7, 2020 v0.1.0 Nov 7, 2020 Changes in this version + func SendErrorHTML(w http.ResponseWriter, r *http.Request, httpStatusCode int, err error, ...) v0.0.1 Nov 4, 2020 Changes in this version + func SendErrorJSON(w http.ResponseWriter, r *http.Request, httpStatusCode int, err error, ...) + type ErrCode int + const ErrBadRequest + const ErrDecode + const ErrInternal