Trait 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§

Source

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.

Implementors§