Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::WarningsAsErrorsSetting Struct Reference

Public Types

using RETURN_TYPE = bool

Static Public Member Functions

static void OnSet (SettingCallbackInfo &info, Value &input)

Static Public Attributes

static constexpr const char * Name = "warnings_as_errors"
static constexpr const char * Description = "Escalate all warnings to errors."
static constexpr const char * InputType = "BOOLEAN"
static constexpr const char * DefaultValue = "false"
static constexpr SettingScopeTarget Scope = SettingScopeTarget::GLOBAL_ONLY
static constexpr idx_t SettingIndex = 94

Member Function Documentation

◆ OnSet()

void duckdb::WarningsAsErrorsSetting::OnSet ( SettingCallbackInfo & info,
Value & input )
static
302998 {
302999 auto &log_manager = LogManager::Get(*info.context);
303000 if (input == Value(true) && !log_manager.GetConfig().enabled) {
303001 throw Exception(
303002 ExceptionType::SETTINGS,
303003 "Can not set 'warnings_as_errors=true'; no logger is available. To solve, run: 'SET enable_logging=true;'");
303004 }
303005}

The documentation for this struct was generated from the following file: