Error construction and inspection. import error.
Add context message to an error result.
error.context(result, "failed to load config")
Extract the error message from a Result, or empty string if ok.
error.message(err("oops")) // => "oops"
Chain two error messages with a cause separator.
error.chain("load failed", "file not found") // => "load failed: file not found"