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

33 lines
625 B
C++

/*
* 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_ */