Arduino KVComm  master
Key-Value pair communication library for Arduino
Public Member Functions | Private Attributes | List of all members
KV_Exception Class Reference

Custom exception for KVComm. Not used on Arduino. More...

#include <KVComm/KV_Error.hpp>

Inheritance diagram for KV_Exception:
Collaboration diagram for KV_Exception:

Public Member Functions

 KV_Exception (const std::string message, int errorCode)
 
const char * what () const override throw ()
 
int getErrorCode () const
 

Private Attributes

const std::string message
 
const int errorCode
 

Detailed Description

Custom exception for KVComm. Not used on Arduino.

Definition at line 13 of file KV_Error.hpp.

Constructor & Destructor Documentation

◆ KV_Exception()

KV_Exception ( const std::string  message,
int  errorCode 
)
inline

Definition at line 15 of file KV_Error.hpp.

Member Function Documentation

◆ what()

const char* what ( ) const
throw (
)
inlineoverride

Definition at line 17 of file KV_Error.hpp.

◆ getErrorCode()

int getErrorCode ( ) const
inline

Definition at line 18 of file KV_Error.hpp.

Member Data Documentation

◆ message

const std::string message
private

Definition at line 21 of file KV_Error.hpp.

◆ errorCode

const int errorCode
private

Definition at line 22 of file KV_Error.hpp.


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