Type Alias parse_js::error::SyntaxResult

source ·
pub type SyntaxResult<T> = Result<T, SyntaxError>;

Aliased Type§

enum SyntaxResult<T> {
    Ok(T),
    Err(SyntaxError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SyntaxError)

Contains the error value