Bitcoin
error.h
Go to the documentation of this file.
1 // Copyright (c) 2010-2018 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_UTIL_ERROR_H
6 #define BITCOIN_UTIL_ERROR_H
7 
18 #include <string>
19 
20 enum class TransactionError {
21  OK,
31 };
32 
34 
35 std::string AmountHighWarn(const std::string& optname);
36 
37 std::string AmountErrMsg(const char* const optname, const std::string& strValue);
38 
39 #endif // BITCOIN_UTIL_ERROR_H
std::string TransactionErrorString(const TransactionError error)
Definition: error.cpp:9
std::string AmountErrMsg(const char *const optname, const std::string &strValue)
Definition: error.cpp:42
TransactionError
Definition: error.h:20
std::string AmountHighWarn(const std::string &optname)
Definition: error.cpp:37
bool error(const char *fmt, const Args &... args)
Definition: system.h:59