![]() |
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.
|
Public Member Functions | |
| DUCKDB_API | ErrorData () |
| Not initialized, default constructor. | |
| DUCKDB_API | ErrorData (const std::exception &ex) |
| From std::exception. | |
| DUCKDB_API | ErrorData (ExceptionType type, const string &raw_message) |
| From a raw string and exception type. | |
| DUCKDB_API | ErrorData (const string &raw_message) |
| From a raw string. | |
| DUCKDB_API void | Throw (const string &prepended_message="") const |
| Throw the error. | |
| DUCKDB_API const ExceptionType & | Type () const |
| Get the internal exception type of the error. | |
| DUCKDB_API const string & | Message () const |
| Used in clients like C-API, creates the final message and returns a reference to it. | |
| DUCKDB_API const string & | RawMessage () const |
| DUCKDB_API void | Merge (const ErrorData &other) |
| DUCKDB_API bool | operator== (const ErrorData &other) const |
| bool | HasError () const |
| Returns true, if this error data contains an exception, else false. | |
| const unordered_map< string, string > & | ExtraInfo () const |
| DUCKDB_API void | FinalizeError () |
| DUCKDB_API void | AddErrorLocation (const string &query) |
| DUCKDB_API void | ConvertErrorToJSON () |
| DUCKDB_API void | AddQueryLocation (optional_idx query_location) |
| DUCKDB_API void | AddQueryLocation (QueryErrorContext error_context) |
| DUCKDB_API void | AddQueryLocation (const ParsedExpression &ref) |
| DUCKDB_API void | AddQueryLocation (const TableRef &ref) |
Private Member Functions | |
| DUCKDB_API string | ConstructFinalMessage () const |
Static Private Member Functions | |
| static DUCKDB_API string | SanitizeErrorMessage (string error) |
Private Attributes | |
| bool | initialized |
| Whether this ErrorData contains an exception or not. | |
| ExceptionType | type |
| The ExceptionType of the preserved exception. | |
| string | raw_message |
| The message the exception was constructed with (does not contain the Exception Type). | |
| string | final_message |
| The final message (stored in the preserved error for compatibility reasons with C-API). | |
| unordered_map< string, string > | extra_info |
| Extra exception info. | |
Not initialized, default constructor.
| duckdb::ErrorData::ErrorData | ( | const std::exception & | ex | ) |
From std::exception.
| duckdb::ErrorData::ErrorData | ( | ExceptionType | type, |
| const string & | raw_message ) |
From a raw string and exception type.
|
explicit |
From a raw string.
| void duckdb::ErrorData::Throw | ( | const string & | prepended_message = "" | ) | const |
Throw the error.
| const ExceptionType & duckdb::ErrorData::Type | ( | ) | const |
Get the internal exception type of the error.
|
inline |
Used in clients like C-API, creates the final message and returns a reference to it.
|
inline |
| void duckdb::ErrorData::Merge | ( | const ErrorData & | other | ) |
| bool duckdb::ErrorData::operator== | ( | const ErrorData & | other | ) | const |
|
inline |
Returns true, if this error data contains an exception, else false.
|
inline |
| void duckdb::ErrorData::FinalizeError | ( | ) |
| void duckdb::ErrorData::AddErrorLocation | ( | const string & | query | ) |
| void duckdb::ErrorData::ConvertErrorToJSON | ( | ) |
| void duckdb::ErrorData::AddQueryLocation | ( | optional_idx | query_location | ) |
| void duckdb::ErrorData::AddQueryLocation | ( | QueryErrorContext | error_context | ) |
| void duckdb::ErrorData::AddQueryLocation | ( | const ParsedExpression & | ref | ) |
| void duckdb::ErrorData::AddQueryLocation | ( | const TableRef & | ref | ) |
|
staticprivate |
|
private |