30 #ifndef TINS_EXCEPTIONS_H 31 #define TINS_EXCEPTIONS_H 44 : std::runtime_error(std::string()) { }
47 : std::runtime_error(message) { }
50 : std::runtime_error(message) { }
312 #endif // TINS_EXCEPTIONS_H Exception thrown when sniffing a protocol that has been disabled at compile time. ...
Definition: exceptions.h:184
Exception thrown when an unkown link layer PDU type is found while sniffing.
Definition: exceptions.h:159
Exception thrown when a PDU is not found when using PDU::rfind_pdu.
Definition: exceptions.h:80
Generic pcap error.
Definition: exceptions.h:219
Exception thrown when a field is not present in frame.
Definition: exceptions.h:114
Exception thrown when serializing a packet fails.
Definition: exceptions.h:72
Exception thrown when serialiation of a non-serializable PDU is attempted.
Definition: exceptions.h:244
Exception thrown when a stream is not found.
Definition: exceptions.h:277
Exception thrown when opening a pcap handle fails.
Definition: exceptions.h:252
Exception thrown when an invalid string representation of an address is provided. ...
Definition: exceptions.h:98
Exception thrown when an invalid domain name is parsed.
Definition: exceptions.h:269
Exception thrown when PacketSender fails to open a socket.
Definition: exceptions.h:122
Exception thrown when a feature has been disabled at compile time.
Definition: exceptions.h:193
Exception thrown when a function not supported on the current OS is called.
Definition: exceptions.h:261
Exception thrown when an invalid WPA2 handshake is found.
Definition: exceptions.h:303
Exception thrown when an invalid socket type is provided to PacketSender.
Definition: exceptions.h:150
Base class for all libtins exceptions.
Definition: exceptions.h:41
The Tins namespace.
Definition: address_range.h:38
Exception thrown when PacketSender fails to write on a socket.
Definition: exceptions.h:140
Exception thrown when an invalid pcap filter is compiled.
Definition: exceptions.h:233
Exception thrown when a required callback for an object is not set.
Definition: exceptions.h:285
Exception thrown when PacketSender fails to close a socket.
Definition: exceptions.h:131
Exception thrown when an invalid packet is provided to some function.
Definition: exceptions.h:293
Exception thrown when a PDU option is set using an incorrect value.
Definition: exceptions.h:106
Exception thrown when PDU::send requires a valid interface, but an invalid is used.
Definition: exceptions.h:89
Exception thrown when a call to tins_cast fails.
Definition: exceptions.h:175
Exception thrown when an option is not found.
Definition: exceptions.h:56
Exception thrown when a payload is too large to fit into a PDUOption.
Definition: exceptions.h:202