Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:14

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 
0011 namespace boost
0012 {
0013 namespace process
0014 {
0015 ///The exception usually thrown by boost.process.
0016 /** It merely inherits [std::system_error](http://en.cppreference.com/w/cpp/error/system_error)
0017  * but can then be distinguished in the catch-block from other system errors.
0018  *
0019  */
0020 struct process_error : std::system_error
0021 {
0022     using std::system_error::system_error;
0023 };
0024 
0025 }
0026 }
0027 
0028 
0029 
0030 #endif /* BOOST_PROCESS_EXCEPTION_HPP_ */