Skip to content

Error Code Return #1386

@dhruveshg

Description

@dhruveshg
  • No error code is returned and it crashes if the "key" is not found. I am new to this library, am I missing something? Could it return error code, or the only way to avoid crashing is to use exception handling?

json jProfile;
std::ifstream f(profileFile);
f >> jProfile;
jProfile.at("CONFIG").at(std::to_string(1)).get_to(configFileName);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions