Bitcoin Core  27.99.0
P2P Digital Currency
error.h
Go to the documentation of this file.
1 // Copyright (c) 2010-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_UTIL_ERROR_H
6 #define BITCOIN_UTIL_ERROR_H
7 
18 #include <string>
19 
20 struct bilingual_str;
21 
22 enum class TransactionError {
23  OK,
37 };
38 
40 
41 bilingual_str ResolveErrMsg(const std::string& optname, const std::string& strBind);
42 
43 bilingual_str InvalidPortErrMsg(const std::string& optname, const std::string& strPort);
44 
45 bilingual_str AmountHighWarn(const std::string& optname);
46 
47 bilingual_str AmountErrMsg(const std::string& optname, const std::string& strValue);
48 
49 #endif // BITCOIN_UTIL_ERROR_H
bilingual_str TransactionErrorString(const TransactionError error)
Definition: error.cpp:13
bilingual_str AmountHighWarn(const std::string &optname)
Definition: error.cpp:59
bilingual_str AmountErrMsg(const std::string &optname, const std::string &strValue)
Definition: error.cpp:64
bilingual_str ResolveErrMsg(const std::string &optname, const std::string &strBind)
Definition: error.cpp:49
TransactionError
Definition: error.h:22
bilingual_str InvalidPortErrMsg(const std::string &optname, const std::string &strPort)
Definition: error.cpp:54
Bilingual messages:
Definition: translation.h:18