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::HandleCastError Struct Reference

Static Public Member Functions

static void AssignError (const string &error_message, CastParameters &parameters)
static void AssignError (const string &error_message, string *error_message_ptr, optional_ptr< const Expression > cast_source=nullptr, optional_idx error_location=optional_idx())

Member Function Documentation

◆ AssignError() [1/2]

void duckdb::HandleCastError::AssignError ( const string & error_message,
CastParameters & parameters )
static
213678 {
213679 AssignError(error_message, parameters.error_message, parameters.cast_source, parameters.query_location);
213680}

◆ AssignError() [2/2]

void duckdb::HandleCastError::AssignError ( const string & error_message,
string * error_message_ptr,
optional_ptr< const Expression > cast_source = nullptr,
optional_idx error_location = optional_idx() )
static
213683 {
213684 string column;
213685 if (cast_source && cast_source->HasAlias()) {
213686 column = " when casting from source column " + cast_source->alias;
213687 }
213688 if (!error_message_ptr) {
213689 throw ConversionException(error_location, error_message + column);
213690 }
213691 if (error_message_ptr->empty()) {
213692 *error_message_ptr = error_message + column;
213693 }
213694}

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