Type URI SHOULD resolve to HTML [W3C.REC-html5-20141028] documentation that explains how to resolve the problem. Example: "https://example.net/validation-error" Empty URI or "about:blank", when used as a problem type, indicates that the problem has no additional semantics beyond that of the HTTP st
(uri string)
| 133 | // |
| 134 | // Relative paths are also valid when writing this Problem to an Iris Context. |
| 135 | func (p Problem) Type(uri string) Problem { |
| 136 | return p.Key("type", uri) |
| 137 | } |
| 138 | |
| 139 | // Title sets the problem's title field. |
| 140 | // Example: "Your request parameters didn't validate." |