extern crate idioma;
use *;
use File;
use Read;
/// This demonstrates the use of `idioma::into` and `idioma::exit_if_error`.
/// Note that `unwrap` here is completely safe since we would have exited on error.
/// Run this using `cargo run --bin result`. Execution will exit with error - don't panic.
/// Here you can see how we employ `idioma::into` to wrap errors from other modules like `io::Error`
/// into our own `idioma::Error` type and use `?` to control flow with comfort.