Closed mrp089 closed 9 months ago
Closes #70
I added two new features for error checking:
nlohmann::json
[]
create_...
SimulationParameters
Model::get_block
Model::has_block
get_block
interface
nullptr
has_block
Added required Doxygen documentation to new code
Verified that the examples in #70 and other random manipulations of test cases throw a descriptive error message
Using inheritance for JsonWrapper makes things a bit easier (updated first comment)
JsonWrapper
Current situation
Closes #70
Release Notes
I added two new features for error checking:
nlohmann::json
[]
operator that will throw a detailed error where an input parameter is missingcreate_...
functions inSimulationParameters
Model::get_block
if the block name doesn't existModel::has_block
get_block
error handling ininterface
as it's not necessary anymorenullptr
by callinghas_block
Documentation
Added required Doxygen documentation to new code
Testing
Verified that the examples in #70 and other random manipulations of test cases throw a descriptive error message
Code of Conduct & Contributing Guidelines