MCPcopy Index your code
hub / github.com/kataras/iris / DetailErr

Method DetailErr

context/problem.go:174–180  ·  view source on GitHub ↗

DetailErr calls `Detail(err.Error())`.

(err error)

Source from the content-addressed store, hash-verified

172
173// DetailErr calls `Detail(err.Error())`.
174func (p Problem) DetailErr(err error) Problem {
175 if err == nil {
176 return p
177 }
178
179 return p.Key("detail", err.Error())
180}
181
182// Instance sets the problem's instance field.
183// A URI reference that identifies the specific

Callers

nothing calls this directly

Calls 2

KeyMethod · 0.95
ErrorMethod · 0.65

Tested by

no test coverage detected