Versions in this module Expand all Collapse all v0 v0.17.2 Mar 6, 2026 Changes in this version + func IsNotFound(err error) bool + func IsValidationError(err error) bool + type Field struct + Detail string + Field string + type Problem interface + Code func() int + func BadRequest(detail string) Problem + func Conflict(detail string) Problem + func Forbidden(title, detail string) Problem + func InternalServerError(title, detail string) Problem + func MethodNotAllowed(method string) Problem + func NewProblemOfError(err error) Problem + func NotFound(ref ...string) Problem + func Unauthorized(title, detail string) Problem + func ValidationError(field, detail string) Problem + func ValidationErrors(fieldsMap map[string]string, detail ...string) Problem + type ProblemBuilder interface + Build func() Problem + Detail func(string) ProblemBuilder + Fields func(...Field) ProblemBuilder + Instance func(string) ProblemBuilder + Status func(int) ProblemBuilder + Title func(string) ProblemBuilder + Type func(string) ProblemBuilder + func Builder() ProblemBuilder