BusBricks: ErrorContent_t Struct Reference
BusBricks  0.1
Customize bus-communication
Loading...
Searching...
No Matches
ErrorContent_t Struct Reference

Structure to hold an error code and its associated message. More...

#include <Error.h>

Public Member Functions

 ErrorContent_t (char instanceId=0x0, errorCodes errCode=noError)
 Constructor that initializes the error content based on the provided error code.
 

Public Attributes

errorCodes code
 The error code representing the specific error.
 
char instanceId
 Instance-ID if Error-Service, that raised the error.
 
const char * message
 A human-readable message describing the error.
 

Detailed Description

Structure to hold an error code and its associated message.

Constructor & Destructor Documentation

◆ ErrorContent_t()

ErrorContent_t::ErrorContent_t ( char instanceId = 0x0,
errorCodes errCode = noError )
inline

Constructor that initializes the error content based on the provided error code.

Parameters
errCodeThe error code to initialize the structure with, unknownError by default.

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