SourceReadException

Wraps a failure thrown while obtaining the next synchronous or asynchronous source chunk.

The original failure is available as cause.

Constructors

Link copied to clipboard
constructor(source: Source, span: SourceSpan, cause: Throwable)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

stable category of the failure

Link copied to clipboard

structured descriptions of acceptable syntax

Link copied to clipboard
expect open val message: String?
Link copied to clipboard

offending source spelling, or null when no token exists

Link copied to clipboard

outer-to-inner grammar rules active at the failure

Link copied to clipboard

optional diagnostic identifier of the source

Link copied to clipboard

exact source range associated with the failure