Yoda 0.6.0

Yoda - Browser for Gemini protocol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use adw::StatusPage;

pub struct Failure {
    // nothing yet..
}

impl Failure {
    pub fn new(title: &str, description: &str) -> StatusPage {
        StatusPage::builder()
            .description(description)
            .icon_name("dialog-error-symbolic")
            .title(title)
            .build()
    }
}