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