mirror of
https://github.com/fluencelabs/fluid
synced 2025-06-23 01:51:32 +00:00
rust backend WIP
This commit is contained in:
5
backend-rust/src/errors.rs
Normal file
5
backend-rust/src/errors.rs
Normal file
@ -0,0 +1,5 @@
|
||||
use std::error::Error;
|
||||
|
||||
pub fn err_msg(s: &str) -> Box<dyn Error> {
|
||||
Error(s.to_string()).into()
|
||||
}
|
Reference in New Issue
Block a user