10#ifndef SEMF_UTILS_CORE_ERROR_H_
11#define SEMF_UTILS_CORE_ERROR_H_
Class for representing errors. Every error should have a unique source code. As a user feel encourage...
@ SectionExternalInterruptEnd
@ ExternalInterruptHardware
@ VirtualI2cMasterHardware
@ SectionCriticalSectionBegin
@ NetX90ExternalInterrupt
@ SectionCriticalSectionEnd
@ SectionOutputCompareBegin
@ SectionOutputCompareEnd
@ SectionInputCaptureBegin
@ SectionExternalInterruptBegin
@ VirtualSpiMasterHardware
uint8_t errorCode() const
Returns the error code from the error.
uint32_t classId() const
Returns the class id from the error.
bool isHardwareError() const
Checks if the error got submitted by a class from the semf-HAL.
Error(uint32_t classId, uint8_t errorCode)
Constructor.