Lines Matching full:ec
86 void MctpRequester::processRecvMsg(const boost::system::error_code& ec,
111 if (ec)
114 "MctpRequester failed to receive data from the MCTP socket - ErrorCode={EC}, Error={ER}.",
115 "EC", ec.value(), "ER", ec.message());
116 handleResult(eid, static_cast<std::error_code>(ec), {});
171 uint8_t eid, const boost::system::error_code& ec, size_t /* length */)
173 if (ec)
176 "MctpRequester failed to send data from the MCTP socket - ErrorCode={EC}, Error={ER}.",
177 "EC", ec.value(), "ER", ec.message());
178 handleResult(eid, static_cast<std::error_code>(ec), {});
196 expiryTimer.async_wait([this, eid](const boost::system::error_code& ec) {
197 if (ec != boost::asio::error::operation_aborted)
226 static bool isFatalError(const std::error_code& ec)
228 return ec &&
229 (ec != std::errc::timed_out && ec != std::errc::host_unreachable);
232 void MctpRequester::handleResult(uint8_t eid, const std::error_code& ec,
249 reqCtx.callback(ec, buffer); // Call the original callback
251 if (isFatalError(ec))
265 "eid {} encountered a fatal error: {}", eid, ec.message()));