Instead of Panic we could use an ConfiguratorError to ignore the settings and just return Error Message to the UI, to communicate with the User the message to change provided information about config.toml
If the config file is given with a naked relative path (name.toml), the data directory must be given to serve as the root for the config-file path.
In get_config_file_from_mc we do Panic, instead, we could return Error and propagate it to the caller config_file_data_dir_real_user_chain_from_mc and from there to the determine_user_specific_data where we can return ConfiguratorError and handle it appropriately
Instead of
Panicwe could use anConfiguratorErrorto ignore the settings and just return Error Message to the UI, to communicate with the User the message to change provided information about config.tomlIf the config file is given with a naked relative path (name.toml), the data directory must be given to serve as the root for the config-file path.In
get_config_file_from_mcwe do Panic, instead, we could return Error and propagate it to the callerconfig_file_data_dir_real_user_chain_from_mcand from there to thedetermine_user_specific_datawhere we can returnConfiguratorErrorand handle it appropriately