macro_rules! godot_error {
($fmt:literal $(, $args:expr)* $(,)?) => { ... };
}
Expand description
Pushes an error message to Godot’s built-in debugger and to the OS terminal.
§See also
godot_print!
and godot_warn!
.
For script errors (less relevant in Rust), use godot_script_error!
.
Related to the utility function global::push_error()
.
Godot equivalent: @GlobalScope.push_error()
.