ndn::tlv::Error Class Reference

Represents an error in TLV encoding or decoding. More...

#include <ndn-cxx/encoding/tlv.hpp>

+ Inheritance diagram for ndn::tlv::Error:
+ Collaboration diagram for ndn::tlv::Error:

Public Member Functions

 Error (const char *expectedType, uint32_t actualType)
 

Detailed Description

Represents an error in TLV encoding or decoding.

Element::Error SHOULD inherit from this Error class.

Definition at line 53 of file tlv.hpp.

Constructor & Destructor Documentation

◆ Error()

ndn::tlv::Error::Error ( const char *  expectedType,
uint32_t  actualType 
)

Definition at line 27 of file tlv.cpp.