GDExtensionInterfacePrintScriptErrorWithMessage

Type Alias GDExtensionInterfacePrintScriptErrorWithMessage 

Source
pub type GDExtensionInterfacePrintScriptErrorWithMessage = Option<unsafe extern "C" fn(p_description: *const c_char, p_message: *const c_char, p_function: *const c_char, p_file: *const c_char, p_line: i32, p_editor_notify: GDExtensionBool)>;
Expand description

@name print_script_error_with_message @since 4.1

Logs a script error with a message to Godot’s built-in debugger and to the OS terminal.

@param p_description The code triggering the error. @param p_message The message to show along with the error. @param p_function The function name where the error occurred. @param p_file The file where the error occurred. @param p_line The line where the error occurred. @param p_editor_notify Whether or not to notify the editor.

Aliased Type§

pub enum GDExtensionInterfacePrintScriptErrorWithMessage {
    None,
    Some(unsafe extern "C" fn(*const i8, *const i8, *const i8, *const i8, i32, u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *const i8, *const i8, *const i8, i32, u8))

Some value of type T.