Skip to main content

luaur_analysis/methods/
error_id_error.rs

1use crate::functions::fresh_index::fresh_index;
2use crate::records::error::Error;
3
4impl Error {
5    pub fn error_id_error() -> Self {
6        Error {
7            index: fresh_index(),
8            synthetic: None,
9        }
10    }
11}