AvailCompilerException

class AvailCompilerException : Exception

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.

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

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

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
val moduleName: ModuleName

The fully-qualified name of the module undergoing compilation.

Link copied to clipboard
val position: Long

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