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

Public Member Functions

 FatalException (const string &msg)
 
template<typename... ARGS>
 FatalException (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)
 

Protected Member Functions

DUCKDB_API FatalException (ExceptionType type, const string &msg)
 
template<typename... ARGS>
 FatalException (ExceptionType type, const string &msg, ARGS &&...params)
 

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

◆ FatalException() [1/4]

duckdb::FatalException::FatalException ( const string &  msg)
inlineexplicit
794 : FatalException(ExceptionType::FATAL, msg) {
795 }

◆ FatalException() [2/4]

template<typename... ARGS>
duckdb::FatalException::FatalException ( const string &  msg,
ARGS &&...  params 
)
inlineexplicit
798 : FatalException(ConstructMessage(msg, std::forward<ARGS>(params)...)) {
799 }

◆ FatalException() [3/4]

duckdb::FatalException::FatalException ( ExceptionType  type,
const string &  msg 
)
explicitprotected
70907 : Exception(type, msg) {
70908 // FIXME: Make any log context available to add error logging.
70909}

◆ FatalException() [4/4]

template<typename... ARGS>
duckdb::FatalException::FatalException ( ExceptionType  type,
const string &  msg,
ARGS &&...  params 
)
inlineexplicitprotected
805 : FatalException(type, ConstructMessage(msg, std::forward<ARGS>(params)...)) {
806 }

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