status_codes.cpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 #include <opc/ua/protocol/status_codes.h>
00011 
00012 #include <opc/ua/protocol/string_utils.h>
00013 
00014 #include <stdexcept>
00015 #include <string>
00016 
00017 void OpcUa::CheckStatusCode(StatusCode code)
00018 {
00019   if (code == StatusCode::Good)
00020     return;
00021 
00022   throw std::runtime_error(OpcUa::ToString(code));
00023 }
00024 
00025 


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:24:57