NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
error.hpp File Reference
#include <exception>
#include <string>
#include <utility>
#include <websocketpp/common/cpp11.hpp>
#include <websocketpp/common/system_error.hpp>
Include dependency graph for error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  websocketpp::error::category
 
struct  is_error_code_enum< websocketpp::error::value >
 
class  websocketpp::exception
 

Namespaces

 websocketpp
 Namespace for the WebSocket++ project.
 
 websocketpp::error
 Library level error codes.
 

Typedefs

typedef std::pair< lib::error_code, std::string > websocketpp::err_str_pair
 Combination error code / string type for returning two values. More...
 

Enumerations

enum  websocketpp::error::value {
  websocketpp::error::general = 1, websocketpp::error::send_queue_full, websocketpp::error::payload_violation, websocketpp::error::endpoint_not_secure,
  websocketpp::error::endpoint_unavailable, websocketpp::error::invalid_uri, websocketpp::error::no_outgoing_buffers, websocketpp::error::no_incoming_buffers,
  websocketpp::error::invalid_state, websocketpp::error::bad_close_code, websocketpp::error::reserved_close_code, websocketpp::error::invalid_close_code,
  websocketpp::error::invalid_utf8, websocketpp::error::invalid_subprotocol, websocketpp::error::bad_connection, websocketpp::error::test,
  websocketpp::error::con_creation_failed, websocketpp::error::unrequested_subprotocol, websocketpp::error::client_only, websocketpp::error::server_only,
  websocketpp::error::http_connection_ended, websocketpp::error::open_handshake_timeout, websocketpp::error::close_handshake_timeout, websocketpp::error::invalid_port,
  websocketpp::error::async_accept_not_listening, websocketpp::error::operation_canceled, websocketpp::error::rejected, websocketpp::error::upgrade_required,
  websocketpp::error::invalid_version, websocketpp::error::unsupported_version, websocketpp::error::http_parse_error, websocketpp::error::extension_neg_failed
}
 

Functions

const lib::error_category & websocketpp::error::get_category ()
 
lib::error_code websocketpp::error::make_error_code (error::value e)