error

abstract fun error(vararg data: JsAny?)(source)

The console.error() static method outputs a message to the console at the "error" log level. The message is only displayed to the user if the console is configured to display error output. In most cases, the log level is configured within the console UI. The message may be formatted as an error, with red colors and call stack information.

MDN Reference


abstract fun error(vararg data: String?)(source)