error

fun error(text: String)(source)


fun error(message: String, start: Int, end: Int, command: String? = null)(source)

shows an error in the characters from start to end of the last command: they are underlined in the echo of the command, and message is shown under them, after a caret. Without an echo the command is shown first