1 // Copyright (c) 2016 Klemens D. Morgenstern
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef BOOST_PROCESS_EXCEPTION_HPP_
7 #define BOOST_PROCESS_EXCEPTION_HPP_
9 #include <system_error>
15 ///The exception usually thrown by boost.process.
16 /** It merely inherits [std::system_error](http://en.cppreference.com/w/cpp/error/system_error)
17 * but can then be distinguished in the catch-block from other system errors.
20 struct process_error : std::system_error
22 using std::system_error::system_error;
30 #endif /* BOOST_PROCESS_EXCEPTION_HPP_ */