mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-15 10:05:40 +01:00
-BEGIN VERIFY SCRIPT- sed --in-place --regexp-extended \ 's;( 20[0-2][0-9])(-20[0-2][0-9])? The Bitcoin Core developers;\1-present The Bitcoin Core developers;g' \ $( git grep -l 'The Bitcoin Core developers' -- ':(exclude)COPYING' ':(exclude)src/ipc/libmultiprocess' ':(exclude)src/minisketch' ) -END VERIFY SCRIPT-
21 lines
580 B
C++
21 lines
580 B
C++
// Copyright (c) 2021-present The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_IPC_EXCEPTION_H
|
|
#define BITCOIN_IPC_EXCEPTION_H
|
|
|
|
#include <stdexcept>
|
|
|
|
namespace ipc {
|
|
//! Exception class thrown when a call to remote method fails due to an IPC
|
|
//! error, like a socket getting disconnected.
|
|
class Exception : public std::runtime_error
|
|
{
|
|
public:
|
|
using std::runtime_error::runtime_error;
|
|
};
|
|
} // namespace ipc
|
|
|
|
#endif // BITCOIN_IPC_EXCEPTION_H
|