add combination error code / string type

This commit is contained in:
Peter Thorson
2013-06-25 20:59:29 -05:00
parent 743cd7a713
commit cb08f07cb0

View File

@@ -35,6 +35,9 @@
namespace websocketpp {
/// Combination error code / string type for returning two values
typedef std::pair<lib::error_code,std::string> err_str_pair;
// setup for errors that should be propogated back to the user.
namespace error {
enum value {