Communication: Add new app errors

This commit is contained in:
Bryant Jones
2024-08-29 12:28:01 -04:00
parent 7f30179cc4
commit 99183a89f9
2 changed files with 9 additions and 0 deletions
@@ -130,6 +130,12 @@ std::string AppErrorMessage::getAppErrorString() {
return "Device rebooted to recover from an unexpected error condition";
case AppErrorType::AppErrorPortKeyMistmatch:
return std::string(netIDString) + ": Mismatch between key in manager and stored key";
case AppErrorType::AppErrorBusFailure:
return std::string(netIDString) + ": Bus failure";
case AppErrorType::AppErrorTapOverflow:
return std::string(netIDString) + ": Tap overflow";
case AppErrorType::AppErrorEthTxNoLink:
return std::string(netIDString) + ": Attempted Ethernet transmit without link";
case AppErrorType::AppErrorErrorBufferOverflow:
return "Device error buffer overflow";
case AppErrorType::AppNoError: