| 1547 | } |
| 1548 | |
| 1549 | void Call::sendException(const Exception & exception) |
| 1550 | { |
| 1551 | auto & grpc_exception = *result.mutable_exception(); |
| 1552 | grpc_exception.set_code(exception.code()); |
| 1553 | grpc_exception.set_name(exception.name()); |
| 1554 | grpc_exception.set_display_text(exception.displayText()); |
| 1555 | if (send_exception_with_stacktrace) |
| 1556 | grpc_exception.set_stack_trace(exception.getStackTraceString()); |
| 1557 | sendResult(); |
| 1558 | } |
| 1559 | } |
| 1560 | |
| 1561 |
nothing calls this directly
no test coverage detected