Forbidden returns a new user facing forbidden error.
(message string)
| 167 | |
| 168 | // Forbidden returns a new user facing forbidden error. |
| 169 | func Forbidden(message string) *Error { |
| 170 | return New(http.StatusForbidden, message) |
| 171 | } |
| 172 | |
| 173 | // NotFound returns a new user facing not found error. |
| 174 | func NotFound(message string) *Error { |