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) { }
Exception thrown when an invalid WPA2 handshake is found.
Definition: exceptions.h:321
Exception thrown when a call to tins_cast fails.
Definition: exceptions.h:193
Exception thrown when a required callback for an object is not set.
Definition: exceptions.h:303
Exception thrown when a DNS decompression pointer loops.
Definition: exceptions.h:81
Exception thrown when a DNS decompression pointer is out of bounds.
Definition: exceptions.h:73
Base class for all libtins exceptions.
Definition: exceptions.h:41
Exception thrown when a feature has been disabled at compile time.
Definition: exceptions.h:211
Exception thrown when a field is not present in frame.
Definition: exceptions.h:132
Exception thrown when an invalid string representation of an address is provided.
Definition: exceptions.h:116
Exception thrown when an invalid domain name is parsed.
Definition: exceptions.h:287
Exception thrown when PDU::send requires a valid interface, but an invalid is used.
Definition: exceptions.h:107
Exception thrown when a PDU option is set using an incorrect value.
Definition: exceptions.h:124
Exception thrown when an invalid packet is provided to some function.
Definition: exceptions.h:311
Exception thrown when an invalid pcap filter is compiled.
Definition: exceptions.h:251
Exception thrown when an invalid socket type is provided to PacketSender.
Definition: exceptions.h:168
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:220
Generic pcap error.
Definition: exceptions.h:237
Exception thrown when opening a pcap handle fails.
Definition: exceptions.h:270
Exception thrown when a PDU is not found when using PDU::rfind_pdu.
Definition: exceptions.h:98
Exception thrown when serialiation of a non-serializable PDU is attempted.
Definition: exceptions.h:262
Exception thrown when sniffing a protocol that has been disabled at compile time.
Definition: exceptions.h:202
Exception thrown when serializing a packet fails.
Definition: exceptions.h:90
Exception thrown when PacketSender fails to close a socket.
Definition: exceptions.h:149
Exception thrown when PacketSender fails to open a socket.
Definition: exceptions.h:140
Exception thrown when PacketSender fails to write on a socket.
Definition: exceptions.h:158
Exception thrown when a stream is not found.
Definition: exceptions.h:295
Exception thrown when an unkown link layer PDU type is found while sniffing.
Definition: exceptions.h:177
Exception thrown when a function not supported on the current OS is called.
Definition: exceptions.h:279
The Tins namespace.
Definition: address_range.h:38