Versions in this module Expand all Collapse all v1 v1.0.0 Feb 17, 2020 Changes in this version + type ProblemDetails struct + Detail string + Instance string + Status int + Title string + Type string + XMLName xml.Name + func New(statusCode int, problemType, title, detail, instance string) *ProblemDetails + func NewHTTP(statusCode int) *ProblemDetails + func (p *ProblemDetails) ServeJSON(w http.ResponseWriter, r *http.Request) error + func (p *ProblemDetails) ServeXML(w http.ResponseWriter, r *http.Request) error + func (pd *ProblemDetails) Error() string + type ProblemType interface + Error func() string