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

Method Detail

context/problem.go:169–171  ·  view source on GitHub ↗

Detail sets the problem's detail field. Example: "Optional details about the error...".

(detail string)

Source from the content-addressed store, hash-verified

167// Detail sets the problem's detail field.
168// Example: "Optional details about the error...".
169func (p Problem) Detail(detail string) Problem {
170 return p.Key("detail", detail)
171}
172
173// DetailErr calls `Detail(err.Error())`.
174func (p Problem) DetailErr(err error) Problem {

Callers 4

readBodyFunction · 0.80
postUserFunction · 0.80
fireErrorWithProblemFunction · 0.80
newProductProblemFunction · 0.80

Calls 1

KeyMethod · 0.95

Tested by

no test coverage detected