Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-10 08:42:59

0001 // Copyright (c) 2016 Klemens D. Morgenstern
0002 //
0003 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 #ifndef BOOST_PROCESS_EXCEPTION_HPP_
0007 #define BOOST_PROCESS_EXCEPTION_HPP_
0008 
0009 #include <system_error>
0010 #include <boost/process/v1/detail/config.hpp>
0011 
0012 namespace boost
0013 {
0014 namespace process
0015 {
0016 
0017 BOOST_PROCESS_V1_INLINE namespace v1
0018 {
0019 
0020 ///The exception usually thrown by boost.process.v1.
0021 /** It merely inherits [std::system_error](http://en.cppreference.com/w/cpp/error/system_error)
0022  * but can then be distinguished in the catch-block from other system errors.
0023  *
0024  */
0025 struct process_error : std::system_error
0026 {
0027     using std::system_error::system_error;
0028 };
0029 
0030 }
0031 }
0032 }
0033 
0034 
0035 #endif /* BOOST_PROCESS_EXCEPTION_HPP_ */