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

Struct GRPCErrorExpr

expr/grpc_error.go:10–17  ·  view source on GitHub ↗

GRPCErrorExpr defines a gRPC error response including its name, status, and result type.

Source from the content-addressed store, hash-verified

8 // GRPCErrorExpr defines a gRPC error response including its name,
9 // status, and result type.
10 GRPCErrorExpr struct {
11 // ErrorExpr is the underlying goa design error expression.
12 *ErrorExpr
13 // Name of error to match it up with the appropriate ErrorExpr.
14 Name string
15 // Response is the corresponding gRPC response.
16 Response *GRPCResponseExpr
17 }
18)
19
20// EvalName returns the generic definition name used in error messages.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected