Changeset View
Changeset View
Standalone View
Standalone View
src/util/check.h
// Copyright (c) 2019 The Bitcoin Core developers | // Copyright (c) 2019 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_UTIL_CHECK_H | #ifndef BITCOIN_UTIL_CHECK_H | ||||
#define BITCOIN_UTIL_CHECK_H | #define BITCOIN_UTIL_CHECK_H | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include <config/bitcoin-config.h> | |||||
#endif | |||||
#include <tinyformat.h> | #include <tinyformat.h> | ||||
#include <stdexcept> | #include <stdexcept> | ||||
class NonFatalCheckError : public std::runtime_error { | class NonFatalCheckError : public std::runtime_error { | ||||
using std::runtime_error::runtime_error; | using std::runtime_error::runtime_error; | ||||
}; | }; | ||||
Show All 27 Lines |