|
| | HTTPException (const string &message) |
| |
| template<class RESPONSE , typename ResponseShape< decltype(RESPONSE::status)>::status = 0, typename... ARGS> |
| | HTTPException (RESPONSE &response, const string &msg, ARGS &&...params) |
| |
| template<class RESPONSE , typename ResponseWrapperShape< decltype(RESPONSE::code)>::code = 0, typename... ARGS> |
| | HTTPException (RESPONSE &response, const string &msg, ARGS &&...params) |
| |
| template<class HEADERS , typename... ARGS> |
| | HTTPException (int status_code, const string &response_body, const HEADERS &headers, const string &reason, const string &msg, ARGS &&...params) |
| |
| 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) |
| |
|
| template<class HEADERS > |
| static unordered_map< string, string > | HTTPExtraInfo (int status_code, const string &response_body, const HEADERS &headers, const string &reason) |
| |
| 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 ¶m, 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) |
| |