GRPCErrorExpr defines a gRPC error response including its name, status, and result type.
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected