Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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
20struct bilingual_str;
21
36
38
39bilingual_str ResolveErrMsg(const std::string &optname,
40 const std::string &strBind);
41
42bilingual_str AmountHighWarn(const std::string &optname);
43
44bilingual_str AmountErrMsg(const std::string &optname,
45 const std::string &strValue);
46
47#endif // BITCOIN_UTIL_ERROR_H
bilingual_str TransactionErrorString(TransactionError error)
Definition error.cpp:11
bilingual_str AmountHighWarn(const std::string &optname)
Definition error.cpp:49
bilingual_str AmountErrMsg(const std::string &optname, const std::string &strValue)
Definition error.cpp:53
bilingual_str ResolveErrMsg(const std::string &optname, const std::string &strBind)
Definition error.cpp:44
TransactionError
Definition error.h:22
bool error(const char *fmt, const Args &...args)
Definition logging.h:226
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
Bilingual messages:
Definition translation.h:17