SyntaxException

open class SyntaxException(message: String, val consumed: Int, span: Span) : MetisException

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, consumed: Int, span: Span)

Properties

Link copied to clipboard
Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
fun addStackFrame(span: Span)

Adds a stack frame to the backtrace.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun report(sourceName: String): String

Returns a string representation of this exception.

Link copied to clipboard