Versions in this module Expand all Collapse all v0 v0.2.0 Sep 7, 2025 Changes in this version type Problem + func (problem Problem) HTTPStatus() int v0.1.0 Sep 5, 2025 Changes in this version + const StackTraceKey + type Problem struct + Detail string + Instance string + Status int + Title string + Type string + func NewProblem(err error, status int) Problem + func (problem *Problem) UnmarshalJSON(data []byte) error + func (problem Problem) Additional(key string) (any, bool) + func (problem Problem) Defaulted(request *http.Request) Problem + func (problem Problem) Error() string + func (problem Problem) Errors() []error + func (problem Problem) MarshalJSON() ([]byte, error) + func (problem Problem) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (problem Problem) ServeHTTPDev(w http.ResponseWriter, r *http.Request) + func (problem Problem) Unwrap() error + func (problem Problem) With(key string, value any) Problem + func (problem Problem) WithError(err error) Problem + func (problem Problem) WithStackTrace() Problem + func (problem Problem) Without(key string) Problem + func (problem Problem) WithoutError() Problem + func (problem Problem) WithoutStackTrace() Problem