PX4 ROS 2 Interface Library
Library to interface with PX4 from a companion computer using ROS 2
exception.hpp
1 /****************************************************************************
2  * Copyright (c) 2023 PX4 Development Team.
3  * SPDX-License-Identifier: BSD-3-Clause
4  ****************************************************************************/
5 
6 #pragma once
7 
8 #include <exception>
9 #include <stdexcept>
10 #include <string>
11 
12 namespace px4_ros2
13 {
14 
15 class Exception : public std::runtime_error
16 {
17 public:
18  using std::runtime_error::runtime_error;
19 };
20 
21 } // namespace px4_ros2
Definition: exception.hpp:16