MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/systemic/ReenteraptException.hh

33 lines
629 B
C++
Raw Normal View History

2024-06-07 11:12:56 +03:00
/*
* ReenteraptException.hh
*
* Created on: 11 янв. 2023 г.
* Author: titov
*/
#ifndef UMLIBRARY_SYSTEMIC_REENTERAPTEXCEPTION_HH_
#define UMLIBRARY_SYSTEMIC_REENTERAPTEXCEPTION_HH_
#include "SystemException.hh"
#include <stdint.h>
namespace systemic {
struct ReenteraptException : public SystemException {
std::size_t id() const noexcept;
std::pair<const char *, std::size_t> binary() const noexcept;
const char * what() const noexcept;
ReenteraptException( uint16_t identy ) : section_id(identy) {}
uint16_t section_id;
};
}
#endif /* UMLIBRARY_SYSTEMIC_REENTERAPTEXCEPTION_HH_ */