MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/systemic/ReenteraptException.hh
2024-06-07 11:12:56 +03:00

33 lines
629 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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