pub fn error(data: &Array)
The console.error() function.
console.error()
MDN Documentation
This API requires the following crate features to be activated: console
console