Dup creates a copy of the error expression.
()
| 121 | |
| 122 | // Dup creates a copy of the error expression. |
| 123 | func (e *HTTPErrorExpr) Dup() *HTTPErrorExpr { |
| 124 | return &HTTPErrorExpr{ |
| 125 | ErrorExpr: e.ErrorExpr, |
| 126 | Name: e.Name, |
| 127 | Response: e.Response.Dup(), |
| 128 | } |
| 129 | } |