Bitcoin Core  21.99.0
P2P Digital Currency
exception.h
Go to the documentation of this file.
1 // Copyright (c) 2021 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_IPC_EXCEPTION_H
6 #define BITCOIN_IPC_EXCEPTION_H
7 
8 #include <stdexcept>
9 
10 namespace ipc {
13 class Exception : public std::runtime_error
14 {
15 public:
16  using std::runtime_error::runtime_error;
17 };
18 } // namespace ipc
19 
20 #endif // BITCOIN_IPC_EXCEPTION_H
ipc
Definition: protocol.cpp:27
ipc::Exception
Exception class thrown when a call to remote method fails due to an IPC error, like a socket getting ...
Definition: exception.h:13