pub fn new_custom(kind: AppCustomErrorKind, msg: &str) -> Self {
        AppError {
            error_kind: InternalError::Custom(kind),
            msg: msg.to_string(),
        }
    }
/// A simple and convenient creation of a new application error
A simple and convenient creation of a new application error
A simple and convenient creation of a new application error
pub fn new_custom(kind: AppCustomErrorKind, msg: &str) -> Self {
        AppError {
            error_kind: InternalError::Custom(kind),
            msg: msg.to_string(),
        }
    }
pub fn new_custom ( kind : AppCustomErrorKind , msg : & str ) -> Self { AppError { error_kind : InternalError :: Custom ( kind ) , msg : msg . to_string ( ) , } }
A simple and convenient creation of a new application error
A simple and convenient creation of a new application error
kind
AppCustomErrorKind
msg
&str
kind
AppCustomErrorKind
msg
&str