MCPcopy Create free account
hub / github.com/goadesign/goa / Dup

Method Dup

expr/http_error.go:123–129  ·  view source on GitHub ↗

Dup creates a copy of the error expression.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

DupMethod · 0.65

Tested by

no test coverage detected