Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
IModbusService.cpp
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#include "Stroika/Frameworks/StroikaPreComp.h"
5
7
8#include "IModbusService.h"
9
10using namespace Stroika::Foundation;
12
13using namespace Stroika::Frameworks;
14using namespace Stroika::Frameworks::Modbus;
15
16/*
17 ********************************************************************************
18 ************************ Frameworks::Modbus::Exception *************************
19 ********************************************************************************
20 */
21Modbus::Exception::Exception (ExceptionCode exceptionCode)
22 : Execution::RuntimeErrorException<>{"Modbus Exception: {}"_f(static_cast<int> (exceptionCode))}
23 , fExceptionCode{exceptionCode}
24{
25}