mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-13 22:26:43 +10:00
feat(errors): Using SerializeDisplay for better error management with Result
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
use std::{fmt::Display, io::Error};
|
||||
|
||||
use serde_with::SerializeDisplay;
|
||||
|
||||
#[derive(SerializeDisplay)]
|
||||
pub enum ProcessError {
|
||||
SetupRequired,
|
||||
NotInstalled,
|
||||
|
||||
Reference in New Issue
Block a user