Skip to content
Snippets Groups Projects
Commit b2e537f9 authored by phit0's avatar phit0
Browse files

[base] helpful error message for missing classes

parent 63fda142
No related branches found
No related tags found
3 merge requests!38Draft: standardize files references during prj import/export,!35Resolve "Manual CI job to run all benchmarks",!33Resolve "Update to OGSv6.4.1"
......@@ -270,7 +270,11 @@ order_parameters <- function(parameters, class_name){
for(i in seq_len(length(parameters))){
# cat("\n", names(parameters)[[i]], "\n")
assertthat::assert_that(names(parameters)[[i]] %in% class_args)
assertthat::assert_that(names(parameters)[[i]] %in% class_args,
msg = paste0(names(parameters)[[i]],
" not in class_args of class ",
class_name,
collapse = " "))
}
}
......
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