Skip to content
Snippets Groups Projects
Commit c09900b5 authored by Ian Bell's avatar Ian Bell
Browse files

Handle the failure case in multilevel_JSON_load

parent 2050f229
No related branches found
No related tags found
No related merge requests found
...@@ -101,5 +101,8 @@ namespace teqp{ ...@@ -101,5 +101,8 @@ namespace teqp{
return nlohmann::json::parse(s); return nlohmann::json::parse(s);
} }
} }
else{
throw teqp::InvalidArgument("Unable to load the argument to multilevel_JSON_load");
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment