mirror of
https://github.com/tribufu/unwrap-gui
synced 2025-06-15 10:44:19 +00:00
14 lines
293 B
Rust
14 lines
293 B
Rust
// Copyright (c) Tribufu. All Rights Reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
use anyhow::{Error, Result};
|
|
use unwrap_gui::*;
|
|
|
|
fn main() {
|
|
let result: Result<()> = Err(Error::msg(
|
|
"With this trait you can display a message and exit the app.",
|
|
));
|
|
|
|
result.unwrap_gui();
|
|
}
|