pub fn warn(message: &str) -> Result<()>
Print a warning message.
Warnings lead to sub-optimal, but not strictly incorrect, behaviour. An example would be failing to load a custom stylesheet and instead using a default one.