Trait baby_emulator::assembler::parser::errors::ParseError
source · pub trait ParseError {
// Required method
fn describe(&self, line_breaks: bool) -> String;
}Expand description
Defines common behaviour for all errors thrown whilst parsing Baby asm.
Required Methods§
sourcefn describe(&self, line_breaks: bool) -> String
fn describe(&self, line_breaks: bool) -> String
Returns a string describing an error thrown.
Parameters
line_breaks- Add in line breaks between each embedded error.