ros2_canopen
master
C++ ROS CANopen Library
canopen_core
include
canopen_core
master_error.hpp
Go to the documentation of this file.
1
// Copyright 2022 Christoph Hellmann Santos
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef MASTER_ERROR_HPP_
16
#define MASTER_ERROR_HPP_
17
18
#include <system_error>
19
20
namespace
ros2_canopen
21
{
29
class
MasterException
:
public
std::exception
30
{
31
private
:
32
std::string what_;
33
34
public
:
35
MasterException
(std::string
what
) { what_ =
what
; }
36
37
char
*
what
();
38
};
39
}
// namespace ros2_canopen
40
41
#endif
ros2_canopen::MasterException
Master Exception.
Definition:
master_error.hpp:30
ros2_canopen::MasterException::MasterException
MasterException(std::string what)
Definition:
master_error.hpp:35
ros2_canopen::MasterException::what
char * what()
ros2_canopen
Definition:
configuration_manager.hpp:28
Generated by
1.9.1