Macros fixed to accomodate err kotlin and ios

This commit is contained in:
Franklin 2023-10-27 20:43:07 -04:00
parent 68dfdca2a7
commit f2ca8260ab
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ macro_rules! x_u_res_db_or_res {
( $e:expr ) => {
match $e {
Ok(result) => result,
Err(error) => return Err(err::Error::new(err::trace!()).message(error.to_string()).error_type(err::ErrorType::Service(err::ServiceError::DatabaseError(error))))
Err(error) => return Err(err::Error::new(err::trace!()).message(error.to_string()).error_type(err::ErrorType::Service { error: err::ServiceError::DatabaseError{error: error} } ))
}
};
}