error

Function error 

Source
pub fn error<S: Display>(site: Site<'_>, msg: S)
Expand description

Print an error to the Godot console.

Typically, you would use this through the godot_error macro.

§Panics

If the API isn’t initialized, or if the message contains any NUL-bytes.