Skip to main content

EMPTY_ERROR_PLACEHOLDER

Constant EMPTY_ERROR_PLACEHOLDER 

Source
pub const EMPTY_ERROR_PLACEHOLDER: &str = "table function reported an error without a message";
Expand description

The message the table function wrappers report in place of an empty one.

BindInfo::set_error, InitInfo::set_error and FunctionInfo::set_error substitute it for "" (an interior NUL is replaced by ?, so no other message is empty): DuckDB would otherwise report Binder Error: followed by nothing, and the user would learn only that something failed.