AvailCompilerException

An AvailCompilerException is thrown by the Avail compiler when compilation fails for any reason.

Author

Todd L Smith

Parameters

moduleName

The fully-qualified name of the module undergoing compilation.

position

The position within the module undergoing compilation at which the error was detected.

endOfErrorLine

The position within the module's source of the line break following the error. Useful for displaying the error in context.

errorText

The text of the error message, intended for display at the encapsulated position.

Properties

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

The position within the module undergoing compilation of the first line break after the position at which the error was detected.

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

The position within the module undergoing compilation at which the error was detected.

Link copied to clipboard

Produce a String representation of the stack trace captured in this Throwable.

Functions

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