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::ConversionException Class Reference
Inheritance diagram for duckdb::ConversionException:
Collaboration diagram for duckdb::ConversionException:

Public Member Functions

DUCKDB_API ConversionException (const string &msg)
 
DUCKDB_API ConversionException (optional_idx error_location, const string &msg)
 
DUCKDB_API ConversionException (const PhysicalType orig_type, const PhysicalType new_type)
 
DUCKDB_API ConversionException (const LogicalType &orig_type, const LogicalType &new_type)
 
template<typename... ARGS>
 ConversionException (const string &msg, ARGS &&...params)
 
template<typename... ARGS>
 ConversionException (optional_idx error_location, const string &msg, ARGS &&...params)
 
- Public Member Functions inherited from duckdb::Exception
DUCKDB_API Exception (ExceptionType exception_type, const string &message)
 
DUCKDB_API Exception (const unordered_map< string, string > &extra_info, ExceptionType exception_type, const string &message)
 

Additional Inherited Members

- Static Public Member Functions inherited from duckdb::Exception
static DUCKDB_API string ExceptionTypeToString (ExceptionType type)
 
static DUCKDB_API ExceptionType StringToExceptionType (const string &type)
 
template<typename... ARGS>
static string ConstructMessage (const string &msg, ARGS const &...params)
 
static DUCKDB_API unordered_map< string, string > InitializeExtraInfo (const Expression &expr)
 
static DUCKDB_API unordered_map< string, string > InitializeExtraInfo (const ParsedExpression &expr)
 
static DUCKDB_API unordered_map< string, string > InitializeExtraInfo (const QueryErrorContext &error_context)
 
static DUCKDB_API unordered_map< string, string > InitializeExtraInfo (const TableRef &ref)
 
static DUCKDB_API unordered_map< string, string > InitializeExtraInfo (optional_idx error_location)
 
static DUCKDB_API unordered_map< string, string > InitializeExtraInfo (const string &subtype, optional_idx error_location)
 
static DUCKDB_API bool IsExecutionError (ExceptionType type)
 Whether this exception type can occur during execution of a query.
 
static DUCKDB_API string ToJSON (ExceptionType type, const string &message)
 
static DUCKDB_API string ToJSON (const unordered_map< string, string > &extra_info, ExceptionType type, const string &message)
 
static DUCKDB_API bool InvalidatesTransaction (ExceptionType exception_type)
 
static DUCKDB_API bool InvalidatesDatabase (ExceptionType exception_type)
 
static DUCKDB_API string ConstructMessageRecursive (const string &msg, std::vector< ExceptionFormatValue > &values)
 
template<class T , typename... ARGS>
static string ConstructMessageRecursive (const string &msg, std::vector< ExceptionFormatValue > &values, const T &param, ARGS &&...params)
 
static DUCKDB_API bool UncaughtException ()
 
static DUCKDB_API string GetStackTrace (idx_t max_depth=120)
 
static string FormatStackTrace (const string &message="")
 
static DUCKDB_API void SetQueryLocation (optional_idx error_location, unordered_map< string, string > &extra_info)
 

Constructor & Destructor Documentation

◆ ConversionException() [1/6]

duckdb::ConversionException::ConversionException ( const string &  msg)
explicit
70476 : Exception(ExceptionType::CONVERSION, msg) {
70477}

◆ ConversionException() [2/6]

duckdb::ConversionException::ConversionException ( optional_idx  error_location,
const string &  msg 
)
explicit
70480 : Exception(Exception::InitializeExtraInfo(error_location), ExceptionType::CONVERSION, msg) {
70481}

◆ ConversionException() [3/6]

duckdb::ConversionException::ConversionException ( const PhysicalType  orig_type,
const PhysicalType  new_type 
)
70467 : Exception(ExceptionType::CONVERSION,
70468 "Type " + TypeIdToString(orig_type) + " can't be cast as " + TypeIdToString(new_type)) {
70469}

◆ ConversionException() [4/6]

duckdb::ConversionException::ConversionException ( const LogicalType orig_type,
const LogicalType new_type 
)
70472 : Exception(ExceptionType::CONVERSION,
70473 "Type " + orig_type.ToString() + " can't be cast as " + new_type.ToString()) {
70474}

◆ ConversionException() [5/6]

template<typename... ARGS>
duckdb::ConversionException::ConversionException ( const string &  msg,
ARGS &&...  params 
)
inlineexplicit
31186 : ConversionException(ConstructMessage(msg, std::forward<ARGS>(params)...)) {
31187 }

◆ ConversionException() [6/6]

template<typename... ARGS>
duckdb::ConversionException::ConversionException ( optional_idx  error_location,
const string &  msg,
ARGS &&...  params 
)
inlineexplicit
31191 : ConversionException(error_location, ConstructMessage(msg, std::forward<ARGS>(params)...)) {
31192 }

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