ReplCompilerException

class ReplCompilerException(val failedCode: String, val errorResult: ResultWithDiagnostics.Failure? = null, message: String? = null, metadata: CellErrorMetaData? = null) : ReplException

Exception type for compile time errors happening in the user's code.

Constructors

Link copied to clipboard
constructor(failedCode: String, errorResult: ResultWithDiagnostics.Failure? = null, message: String? = null, metadata: CellErrorMetaData? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val errorResult: ResultWithDiagnostics.Failure? = null
Link copied to clipboard
Link copied to clipboard
val firstError: ScriptDiagnostic?
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getAdditionalInfoJson(): JsonObject?
Link copied to clipboard

Returns a list of all the causes of a throwable.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Throwable.messageAndStackTrace(withMessage: Boolean = true): String
Link copied to clipboard
Link copied to clipboard
open override fun render(): String?
Link copied to clipboard
Link copied to clipboard