(err error)
| 184 | } |
| 185 | |
| 186 | func (e *Error) WithParent(err error) *Error { |
| 187 | e.Parent = err |
| 188 | return e |
| 189 | } |
| 190 | |
| 191 | // WithReturnParentToClient allows returning the set parent error to the HTTP client. |
| 192 | // Currently, it only supports setting the parent inside JSON responses, not redirect URLs. |
no outgoing calls