pub fn new_error(message: String) -> Error