Skip to main content

load

Function load 

pub fn load(explicit: Option<&Path>) -> Result<Loaded, AppError>
Expand description

Load (and validate) the config from the resolved path. A missing file is not an error — it yields an empty config so fresh machines work.

§Errors

AppError on a read error (other than not-found) or invalid config.