CompilerError

constructor(message: String, exceptionName: String, details: String, start: Position, end: Position, cause: Throwable? = null)(source)

Constructor for CompilerError

Since

0.1.0

Parameters

message

the message of the exception (Value for CompilerError.message)

exceptionName

the name of the exception (Value for CompilerError.exceptionName)

details

the details of the exception (Value for CompilerError.details)

start

the start position of the exception (Value for CompilerError.start)

end

the end position of the exception (Value for CompilerError.end)

cause

the cause for the exception


constructor(message: String, exceptionName: String, details: String, map: PositionMap, start: Int, end: Int, cause: Throwable? = null)(source)

Constructor for CompilerError

Since

0.1.0

Parameters

message

the message of the exception (Value for CompilerError.message)

exceptionName

the name of the exception (Value for CompilerError.exceptionName)

details

the details of the exception (Value for CompilerError.details)

map

the position map to resolve start and end (Value for CompilerError.start)

start

the start position of the exception (Value for CompilerError.start)

end

the end position of the exception (Value for CompilerError.end)

cause

the cause for the exception