Skip to main content

SyntaxError

Type Alias SyntaxError 

Source
pub type SyntaxError = SourceError<D2Language>;
Expand description

Report a syntax error: source text d2 cannot read or compile, whose statement is dropped.

Aliased Type§

pub struct SyntaxError {
    pub message: String,
    pub span: SourceSpan,
    /* private fields */
}

Fields§

§message: String§span: SourceSpan