Skip to content

PegError

[Source]

Base trait for errors produced during parsing or grammar compilation.

trait box PegError

Public Functions

category

[Source]

Short category name (e.g. "Syntax Error", "Missing Definition").

fun box category()
: String val

Returns


description

[Source]

Human-readable explanation of the error.

fun box description()
: String val

Returns


markers

[Source]

fun box markers()
: Iterator[Marker] ref

Returns