SetInternal sets the internal error for the HTTPError.
(err error)
| 42 | |
| 43 | // SetInternal sets the internal error for the HTTPError. |
| 44 | func (e *HTTPError) SetInternal(err error) *HTTPError { |
| 45 | e.Internal = err |
| 46 | return e |
| 47 | } |
| 48 | |
| 49 | // Error returns the error message for the HTTPError. |
| 50 | func (e *HTTPError) Error() string { |
no outgoing calls