Better exception types to SSLexception
authorSubodh Iyengar <subodh@fb.com>
Thu, 28 Apr 2016 19:10:12 +0000 (12:10 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Thu, 28 Apr 2016 19:20:29 +0000 (12:20 -0700)
commit0d9217b4915bbede50ebb7c43f98fda17aaf9a83
tree52646796ac3a9ff70f49f048689ba86b240ac743
parent4708133f8d0c240fcb52e14a6c1c23f4479df1d1
Better exception types to SSLexception

Summary:
Better enum exception types for SSLException.
These enum types are fairly high level, and more
info can be gleaned from the error.what()

Reviewed By: knekritz

Differential Revision: D3234501

fb-gh-sync-id: 7cd4fbccd7f4367354dc3bd1fe4cd480d58d6173
fbshipit-source-id: 7cd4fbccd7f4367354dc3bd1fe4cd480d58d6173
folly/io/async/ssl/SSLErrors.cpp
folly/io/async/ssl/SSLErrors.h
folly/io/async/test/AsyncSSLSocketTest.cpp