Skip to main content

EMPTY_PANIC_PLACEHOLDER

Constant EMPTY_PANIC_PLACEHOLDER 

Source
pub const EMPTY_PANIC_PLACEHOLDER: &str = "an extension callback panicked without a message";
Expand description

What the callback macros report for a panic whose message is empty (panic!("")).

DuckDB would otherwise show a bare error prefix such as Invalid Input Error: — and a replacement scan ignores an empty error altogether and carries on with whatever the callback set up before it panicked (replacement_scan-c.cpp only raises a non-empty message).