Skip to content

ParseError

Namespace: Temml

public sealed class ParseError : Exception, ISerializable

The main error thrown by Temml when something has gone wrong in the expression. Maps to src/ParseError.js.

Inheritance: object → Exception

Implements: ISerializable

View source

public ParseError(string message)

Initializes a new instance of the ParseError class without position information.

Parameters

Name Type Description
message string

View source

public int? Position { get; }

The zero-based offset of the error in the input, when known. Maps to position.

Value: int?

View source

public string RawMessage { get; }

The message without the leading space, position and context.

Value: string

View source

MIT · Copyright 2020 Ron Kok · unofficial community port of Temml