Struct shm_rs::static_scheme::error::StaticSchemeError
source · pub struct StaticSchemeError {
pub filename: Option<String>,
pub location: LexerInfo,
pub proc_name: Option<String>,
pub args: Option<Vec<StaticShm>>,
pub msg: String,
}
Fields§
§filename: Option<String>
§location: LexerInfo
§proc_name: Option<String>
§args: Option<Vec<StaticShm>>
§msg: String
Implementations§
source§impl StaticSchemeError
impl StaticSchemeError
pub fn new( filename: Option<String>, location: &LexerInfo, proc_name: Option<&str>, args: Option<Vec<StaticShm>>, msg: String ) -> Self
pub fn new_ser_partial(err: SerializationErrorPartial) -> Self
pub fn new_lexer(err: LexerError) -> Self
pub fn concat_error_msg(&mut self, msg: String)
pub fn set_filename<F>(&mut self, filename: F)where F: AsRef<str>,
pub fn set_location(&mut self, location: &LexerInfo)
pub fn set_proc_name(&mut self, proc_name: &str)
Trait Implementations§
source§impl Debug for StaticSchemeError
impl Debug for StaticSchemeError
source§impl Display for StaticSchemeError
impl Display for StaticSchemeError
source§impl From<SerializationErrorPartial> for StaticSchemeError
impl From<SerializationErrorPartial> for StaticSchemeError
source§fn from(err: SerializationErrorPartial) -> StaticSchemeError
fn from(err: SerializationErrorPartial) -> StaticSchemeError
Converts to this type from the input type.
source§impl From<StaticSchemeError> for SchemeError
impl From<StaticSchemeError> for SchemeError
source§fn from(err: StaticSchemeError) -> SchemeError
fn from(err: StaticSchemeError) -> SchemeError
Converts to this type from the input type.
source§impl From<StaticSchemeError> for SerializationError
impl From<StaticSchemeError> for SerializationError
source§fn from(err: StaticSchemeError) -> SerializationError
fn from(err: StaticSchemeError) -> SerializationError
Converts to this type from the input type.