pub fn new_write_error(err: &str) -> MystError {
        Self {
            kind: ErrorKind::Query(String::from(err)),
        }
    }
/// Creates a new write error. Ususally called when doing segment writes and build.
/// # Arguments
/// * `err`- A string to represent the error
///
Creates a new write error. Ususally called when doing segment writes and build.
Creates a new write error . Ususally called when doing segment writes and build .
pub fn new_write_error(err: &str) -> MystError {
        Self {
            kind: ErrorKind::Query(String::from(err)),
        }
    }
pub fn new_write_error ( err : & str ) -> MystError { Self { kind : ErrorKind :: Query ( String :: from ( err ) ) , } }
Creates a new write error.
Creates a new write error .
err
&str
err
&str