mavtables  0.2.1
MAVLink router and firewall.
Public Member Functions | List of all members
InvalidPacketIDError Class Reference

#include <InvalidPacketIDError.hpp>

Inheritance diagram for InvalidPacketIDError:
Inheritance graph
Collaboration diagram for InvalidPacketIDError:
Collaboration graph

Public Member Functions

 InvalidPacketIDError (unsigned long id)
 
const char * what () const noexcept
 

Detailed Description

Exception type emmited when parsing a packet with an invalid ID.

Definition at line 28 of file InvalidPacketIDError.hpp.

Constructor & Destructor Documentation

◆ InvalidPacketIDError()

InvalidPacketIDError::InvalidPacketIDError ( unsigned long  id)

Construct a InvalidPacketIDError given a packet ID.

Parameters
idThe packet ID.

Definition at line 28 of file InvalidPacketIDError.cpp.

Member Function Documentation

◆ what()

const char * InvalidPacketIDError::what ( ) const
noexcept

Return error message string.

Returns
Error message string.

Definition at line 39 of file InvalidPacketIDError.cpp.


The documentation for this class was generated from the following files: