Skip to content

Improve wording of parse_error exception #4037

Description

@nlohmann
          @nlohmann This exact error happens enough that I'm wondering if there should be a more specific error message for it, such as "Error attempting to parse an empty input, check that your input string or stream contains the expected JSON."

Originally posted by @gregmarr in #4028 (comment)

Activity

  1. haseeb-xd commented on May 20, 2023

    @haseeb-xd

    I would like to work on this, Can you please tell me where can I add new parse_error exception message.
    Thanks

  2. nlohmann commented on May 20, 2023

    @nlohmann
    OwnerAuthor

    Please check the code where parse_error is thrown.

  3. theevilone45 commented on Jun 13, 2023

    @theevilone45
    Contributor

    Hey @nlohmann, can I do it? 😊

  4. nlohmann commented on Jun 13, 2023

    @nlohmann
    OwnerAuthor

    Hey @nlohmann, can I do it? 😊

    Sure!

  5. st17931 commented on Jul 25, 2023

    @st17931

    Is it done ?? Or i can look into it? @nlohmann

  6. nlohmann commented on Jul 25, 2023

    @nlohmann
    OwnerAuthor

    See #4073. It's not done yet.

  7. colbychaskell commented on Oct 7, 2023

    @colbychaskell
    Contributor

    Looks like the work on this fell through... I can work on this if needed.

  8. added this to the Release 3.11.3 milestone on Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions