Skip to main content

push_error

Function push_error 

pub fn push_error(varargs: &[Variant])
Expand description

Pushes an error message to Godot’s built-in debugger and to the OS terminal.

push_error("test error") # Prints "test error" to debugger and terminal as an error.

Note: This function does not pause project execution. To print an error message and pause project execution in debug builds, use assert(false, "test error") instead.