util: Move ResolveErrMsg to util/error #16620

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:1908-utilErrorResolveErrMsg changing 4 files +13 −10
  1. MarcoFalke commented at 2:08 PM on August 15, 2019: member

    Pull request #16248 (review) duplicated the body of this util function. The whole point of the util function is to be shared, so do that here as a fixup to #16248

  2. util: Move ResolveErrMsg to util/error fa27c55b05
  3. MarcoFalke added the label Refactoring on Aug 15, 2019
  4. MarcoFalke cross-referenced this on Aug 15, 2019 from issue Make whitebind/whitelist permissions more flexible by NicolasDorier
  5. Sjors commented at 2:13 PM on August 15, 2019: member

    utACK fa27c55

  6. DrahtBot commented at 8:03 PM on August 15, 2019: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #16224 (gui: Bilingual GUI error messages by hebasto)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  7. in src/init.cpp:825 in fa27c55b05
     821 | @@ -822,11 +822,6 @@ void InitParameterInteraction()
     822 |      }
     823 |  }
     824 |  
     825 | -static std::string ResolveErrMsg(const char * const optname, const std::string& strBind)
    


    promag commented at 11:36 PM on August 15, 2019:

    Shoud #include <util/error.h> then?


    MarcoFalke commented at 11:52 AM on August 16, 2019:

    Will leave as is for now to not invalidate review

  8. NicolasDorier commented at 4:27 AM on August 16, 2019: contributor

    utACK seems like travis need a kick-in-the-box (and maybe need #16620 (review))

  9. ryanofsky approved
  10. ryanofsky commented at 10:54 AM on August 16, 2019: contributor

    utACK fa27c55b0593c769b6ad87de0b59df3816d73548

  11. MarcoFalke merged this on Aug 16, 2019
  12. MarcoFalke closed this on Aug 16, 2019

  13. MarcoFalke referenced this in commit 21a165325e on Aug 16, 2019
  14. hebasto cross-referenced this on Aug 17, 2019 from issue gui: Bilingual GUI error messages by hebasto
  15. deadalnix referenced this in commit 35f36b8ef1 on Jul 28, 2020
  16. bitcoin locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:54 UTC