ot::ErrorToString() function
Converts an `Error` into a string.
Return value
A string representation of @p aError.
![]()
LogWarn("Stop Backbone TMF agent: %s", ErrorToString(error));![]()
LogInfo("Stop Backbone TMF agent: %s", ErrorToString(error));![]()
LogInfo("Sent MLR.rsp (status=%d): %s", aStatus, ErrorToString(error));![]()
LogInfo("Sent BMLR.ntf: %s", ErrorToString(error));![]()
LogInfo("Received DUA.req on %s: %s", (isPrimary ? "PBBR" : "SBBR"), ErrorToString(error));![]()
LogInfo("HandleBackboneQuery: %s", ErrorToString(error));![]()
LogInfo("HandleBackboneAnswer: %s", ErrorToString(error));![]()
LogInfo("HandleDadBackboneAnswer: %s, target=%s, mliid=%s, duplicate=%s", ErrorToString(error),![]()
LogInfo("HandleProactiveBackboneNotification: %s, target=%s, mliid=%s, LTT=%lus", ErrorToString(error),![]()
LogWarn("Commissioner request[%u] failed: %s", aForwardContext.GetMessageId(), ErrorToString(error));![]()
LogWarn("Failed to send copy: %s", ErrorToString(error));![]()
LogInfo("Failed to process request: %s", ErrorToString(error));![]()
LogNote("Transmit: %s", ErrorToString(error));![]()
LogDebg("Transmit: %s", ErrorToString(error));![]()
LogWarn("Unexpected error %s requesting data poll", ErrorToString(error));![]()
LogCrit("Failed to set PAN channel to %u when applying dataset: %s", channel, ErrorToString(error));![]()
LogInfo("MGMT_SET finished: %s", error == kErrorNone ? "Accepted" : ErrorToString(error));![]()
LogDebg("Dropped ICMPv6 message: %s", ErrorToString(error));![]()
LogDebg("Failed to handle discovered NAT64 synthetic addresses: %s", ErrorToString(error));![]()
LogAt(logLevel, "Frame rx failed, error:%s", ErrorToString(aError));![]()
LogInfo("Frame tx attempt %u/%u failed, error:%s, %s", curAttempt, maxAttempts, ErrorToString(aError),![]()
LogInfo("Frame tx failed, error:%s, %s", ErrorToString(aError), aFrame.ToInfoString().AsCString());![]()
LogDebg("Send empty message, error:%s", ErrorToString(error));![]()
LogNote("Dropping rx frag frame, error:%s, %s, tag:%d, offset:%d, dglen:%d", ErrorToString(aError),![]()
LogInfo("Dropping rx mesh frame, error:%s, len:%d, src:%s, sec:%s", ErrorToString(error),![]()
LogNote("Failed to get forwarded frame priority, error:%s, %s", ErrorToString(error),![]()
LogWarn("Error %s adding IPv6 address %s to child 0x%04x", ErrorToString(error),![]()
LogInfo("SendMlrMessage(): %s", ErrorToString(error));![]()
LogWarn("Receive MLR.rsp: result=%s, error=%s, status=%d, failedAddressNum=%d", ErrorToString(aResult),![]()
LogWarn("Failed to remove %s from Thread Network Data: %s", LocalToString().AsCString(), ErrorToString(error));![]()
LogWarn("Failed to discover infraif NAT64 prefix: %s", ErrorToString(error));![]()
LogWarn("HandleMbedtlsTransmit: %s error", ErrorToString(error));![]()
LogDebg("Adding addr: %s -- %s (%d)", aChild.GetExtAddress().ToString().AsCString(), ErrorToString(error),![]()
LogDebg("Clearing addr: %s -- %s (%d)", aChild.GetExtAddress().ToString().AsCString(), ErrorToString(error),![]()
ErrorToString(error));![]()
LogInfo("Failed to send update: %s", ErrorToString(error));![]()
LogInfo("Failed to process response %s", ErrorToString(error));![]()
LogInfo("Error %s processing received SRP update", ErrorToString(aError));![]()
LogWarn("RadioSleep() failed, error: %s", ErrorToString(error));![]()
LogWarn("RadioReceive() failed, error: %s", ErrorToString(error));![]()
ErrorToString(aError));
ot::ErrorToString() is called by 62 functions and calls 1 function:
![]()
ot::ErrorToString()
ot::ErrorToString() reads 1 variable:
![]()
ot::ErrorToString()