| 1801 | } |
| 1802 | |
| 1803 | void Call::sendException(const Exception & exception) |
| 1804 | { |
| 1805 | auto & grpc_exception = *result.mutable_exception(); |
| 1806 | grpc_exception.set_code(exception.code()); |
| 1807 | grpc_exception.set_name(exception.name()); |
| 1808 | grpc_exception.set_display_text(exception.displayText()); |
| 1809 | if (send_exception_with_stacktrace) |
| 1810 | grpc_exception.set_stack_trace(exception.getStackTraceString()); |
| 1811 | sendResult(); |
| 1812 | } |
| 1813 | } |
| 1814 | |
| 1815 |
nothing calls this directly
no test coverage detected