emlabcpp
modern opinionated embedded C++ library
error.h File Reference
#include "../experimental/string_buffer.h"
#include <algorithm>
#include <array>
+ Include dependency graph for error.h:

Go to the source code of this file.

Classes

struct  emlabcpp::protocol::error_record
 

Namespaces

 emlabcpp
 MIT License.
 
 emlabcpp::protocol
 MIT License.
 

Typedefs

using emlabcpp::protocol::mark = string_buffer< mark_size >
 

Variables

static constexpr std::size_t emlabcpp::protocol::mark_size = 16
 
static constexpr auto emlabcpp::protocol::SIZE_ERR = mark( "EMCPPSIZE" )
 
static constexpr auto emlabcpp::protocol::LOWSIZE_ERR = mark( "EMCPPLOWSIZE" )
 not enough bytes left in the message for the item More...
 
static constexpr auto emlabcpp::protocol::BIGSIZE_ERR = mark( "EMCPPBIGSIZE" )
 too much bytes left in the message for the item More...
 
static constexpr auto emlabcpp::protocol::BOUNDS_ERR = mark( "EMCPPBOUNDS" )
 value in the message is outside of the range of bounded type More...
 
static constexpr auto emlabcpp::protocol::UNDEFVAR_ERR = mark( "EMCPPUNDEFVAR" )
 variant id is outside of the range for defined variant More...
 
static constexpr auto emlabcpp::protocol::BADVAL_ERR = mark( "EMCPPBADVAL" )
 parsed value is not correct, such as constant More...
 
static constexpr auto emlabcpp::protocol::GROUP_ERR = mark( "EMCPPGRPMTCH" )
 no item of group matched the content of message More...
 
static constexpr auto emlabcpp::protocol::CHECKSUM_ERR = mark( "EMCPPCHECKSM" )
 wrong checksum in the protocol More...
 

Class Documentation

◆ emlabcpp::protocol::error_record

struct emlabcpp::protocol::error_record
+ Collaboration diagram for emlabcpp::protocol::error_record:
Class Members
mark error_mark
size_t offset