phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
phyphox::ErrorRecord Struct Reference

The first error recorded on an element, with the setter it came from. More...

#include <Errors.h>

Public Member Functions

bool set () const
 
void record (ErrorCode c, const char *from)
 

Public Attributes

ErrorCode code = ERR_NONE
 
const char * origin = nullptr
 setter name, e.g. "setColor"
 

Detailed Description

The first error recorded on an element, with the setter it came from.

Member Function Documentation

◆ record()

void phyphox::ErrorRecord::record ( ErrorCode  c,
const char *  from 
)
inline

◆ set()

bool phyphox::ErrorRecord::set ( ) const
inline

Member Data Documentation

◆ code

ErrorCode phyphox::ErrorRecord::code = ERR_NONE

◆ origin

const char* phyphox::ErrorRecord::origin = nullptr

setter name, e.g. "setColor"


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