projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add NETWORK_ERROR to switch statement
[folly.git]
/
folly
/
io
/
async
/
AsyncSocketException.h
diff --git
a/folly/io/async/AsyncSocketException.h
b/folly/io/async/AsyncSocketException.h
index 85054d867ef192c7bd07253b405786769e996fc6..fe087e8f7342ddf179b1a6a67156477b136b3b3a 100644
(file)
--- a/
folly/io/async/AsyncSocketException.h
+++ b/
folly/io/async/AsyncSocketException.h
@@
-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)";
}