mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-09-25 22:29:45 +00:00
Save new group settings in the database
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
use core::fmt;
|
||||
use serde::export::Formatter;
|
||||
use std::error;
|
||||
use std::error::Error;
|
||||
|
||||
use serde::export::Formatter;
|
||||
|
||||
/// Simple rust error
|
||||
///
|
||||
/// @author Pierre Hubert
|
||||
@@ -10,7 +11,7 @@ use std::error::Error;
|
||||
|
||||
/// Simple result type
|
||||
pub type ResultExecError<E> = Result<E, ExecError>;
|
||||
pub type ResultBoxError<E> = Result<E, Box<dyn Error>>;
|
||||
pub type ResultBoxError<E = ()> = Result<E, Box<dyn Error>>;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ExecError(pub String);
|
||||
|
Reference in New Issue
Block a user