config_error
Stable error · Errors
Tier: stable · Kind: error · Topic: Errors
| Julia | Rust |
|---|---|
ConfigError | not exported |
Julia
struct ConfigError <: Exception
ConfigError(msg::String)
ConfigError(msg)
ConfigError(msg)
Raised when a run config is invalid for a reason the schema cannot check (spec/run-config.md §8).
Example (refusal)
bad = deepcopy(config)
bad["schedule"]["alg"] = "Bogus"
@test_throws ConfigError build_run(bad; tspan = (0.0, 2.0))
Rust
Rust does not export this error.