Add NETWORK_ERROR to switch statement
[folly.git] / folly / io / async / AsyncSocketException.h
index 85054d867ef192c7bd07253b405786769e996fc6..fe087e8f7342ddf179b1a6a67156477b136b3b3a 100644 (file)
@@ -96,6 +96,8 @@ class AsyncSocketException : public std::runtime_error {
         return "Could not bind";
       case SASL_HANDSHAKE_TIMEOUT:
         return "SASL handshake timeout";
+      case NETWORK_ERROR:
+        return "Network error";
       default:
         return "(Invalid exception type)";
     }