mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-01-30 19:15:17 +01:00
15 lines
321 B
Rust
15 lines
321 B
Rust
use std::fmt::{Display, Formatter};
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub enum SetupError {
|
|
Context,
|
|
}
|
|
|
|
impl Display for SetupError {
|
|
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
|
match self {
|
|
SetupError::Context => write!(f, "failed to generate contexts for download"),
|
|
}
|
|
}
|
|
}
|