PLCnext API Documentation 25.0.2.69
ExceptionTypeId.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace Plc { namespace Commons { namespace Esm
11{
12
13enum class ExceptionTypeId : uint32
14{
15 None = 0,
16 ArpException = 1,
17 StdException = 2,
18 UnknownException = 3,
19 Signal = 4,
20 Watchdog = 5,
21};
22
24// global stream operators of enum ExceptionTypeId for logging and parsing
25ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, ExceptionTypeId value);
26ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, ExceptionTypeId& value);
27
28}}}} // end of namespace Arp::Plc::Commons::Esm
29
30template<> struct fmt::formatter<Arp::Plc::Commons::Esm::ExceptionTypeId>: public fmt::ostream_formatter {};
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
Root namespace for the PLCnext API