diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2023-02-24 13:44:07 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2023-02-28 12:04:47 -0500 |
commit | d172b5c6718b69200c8ad211fe709860081bd692 (patch) | |
tree | ac3cbcb7debb57b9fa06233ca0fc3ba124b5d6d6 /src/wallet/context.h | |
parent | 3db2874bd71d2391747b7385cabcbfef67218c4c (diff) |
Add InitError(error, details) overload
This is only used in the current PR to avoid ugly
`strprintf(Untranslated("%s:\n%s"), str, MakeUnorderedList(details)`
boilerplate in init code. But in the future the function could be extended and
more widely used to include more details in GUI error messages or display them
in a more readable way, see code comment.
Diffstat (limited to 'src/wallet/context.h')
0 files changed, 0 insertions, 0 deletions