Versions in this module Expand all Collapse all v0 v0.0.6 Mar 15, 2026 Changes in this version + const MimeTypeNOSNIFF + func JSONError(w http.ResponseWriter, err *Error, code int) + func WriteError(w http.ResponseWriter, r *http.Request, err string, code int) + type Error struct + func NewError(error string) *Error + func (e *Error) Error() string + func (e *Error) MarshalJSON() ([]byte, error)