DuckDB v0.10.1 for Pascal

The Pascal API structure aligns with C++ DuckDB v0.10.1.

Record BaseException

Hierarchy
Properties

Unit

Declaration

type BaseException = record

Description

Class: BaseException of ddb

Overview

Fields

Public o: Pduckdb_Exception;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_Exception);
Public class operator Explicit(const r: BaseException): Boolean;
Public procedure AutoRelease();
Public procedure Init(arg1: Integer; arg2: str); overload;
Public procedure Init(arg1: Integer; arg2: str; arg3: std_unordered_map_std_string_std_string); overload;
Public class function ExceptionTypeToString(arg1: Integer): str; overload; static;
Public class function StringToExceptionType(arg1: str): Integer; overload; static;
Public class function InitializeExtraInfo(arg1: Expression): std_unordered_map_std_string_std_string; overload; static;
Public class function InitializeExtraInfo(arg1: ParsedExpression): std_unordered_map_std_string_std_string; overload; static;
Public class function InitializeExtraInfo(arg1: QueryErrorContext): std_unordered_map_std_string_std_string; overload; static;
Public class function InitializeExtraInfo(arg1: TableRef): std_unordered_map_std_string_std_string; overload; static;
Public class function InitializeExtraInfo(arg1: optional_idx): std_unordered_map_std_string_std_string; overload; static;
Public class function InitializeExtraInfo(arg1: str; arg2: optional_idx): std_unordered_map_std_string_std_string; overload; static;
Public class function ToJSON(arg1: Integer; arg2: str): str; overload; static;
Public class function ToJSON(arg1: Integer; arg2: str; arg3: std_unordered_map_std_string_std_string): str; overload; static;
Public class function InvalidatesTransaction(arg1: Integer): Boolean; overload; static;
Public class function InvalidatesDatabase(arg1: Integer): Boolean; overload; static;
Public class function ConstructMessageRecursive(arg1: str; arg2: ExceptionFormatValueArray): str; overload; static;
Public class function UncaughtException(): Boolean; overload; static;
Public class function GetStackTrace(arg1: Integer): str; overload; static;
Public class function GetStackTrace(): str; overload; static;
Public class function FormatStackTrace(arg1: str): str; overload; static;
Public class function FormatStackTrace(): str; overload; static;
Public class procedure SetQueryLocation(arg1: optional_idx; arg2: std_unordered_map_std_string_std_string); overload; static;
Public function what(): PUTF8Char; overload;

Description

Fields

Public o: Pduckdb_Exception;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_Exception);

This item has no description.

Public class operator Explicit(const r: BaseException): Boolean;

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public procedure Init(arg1: Integer; arg2: str); overload;

This item has no description.

Public procedure Init(arg1: Integer; arg2: str; arg3: std_unordered_map_std_string_std_string); overload;

This item has no description.

Public class function ExceptionTypeToString(arg1: Integer): str; overload; static;

This item has no description.

Public class function StringToExceptionType(arg1: str): Integer; overload; static;

This item has no description.

Public class function InitializeExtraInfo(arg1: Expression): std_unordered_map_std_string_std_string; overload; static;

This item has no description.

Public class function InitializeExtraInfo(arg1: ParsedExpression): std_unordered_map_std_string_std_string; overload; static;

This item has no description.

Public class function InitializeExtraInfo(arg1: QueryErrorContext): std_unordered_map_std_string_std_string; overload; static;

This item has no description.

Public class function InitializeExtraInfo(arg1: TableRef): std_unordered_map_std_string_std_string; overload; static;

This item has no description.

Public class function InitializeExtraInfo(arg1: optional_idx): std_unordered_map_std_string_std_string; overload; static;

This item has no description.

Public class function InitializeExtraInfo(arg1: str; arg2: optional_idx): std_unordered_map_std_string_std_string; overload; static;

This item has no description.

Public class function ToJSON(arg1: Integer; arg2: str): str; overload; static;

This item has no description.

Public class function ToJSON(arg1: Integer; arg2: str; arg3: std_unordered_map_std_string_std_string): str; overload; static;

This item has no description.

Public class function InvalidatesTransaction(arg1: Integer): Boolean; overload; static;

This item has no description.

Public class function InvalidatesDatabase(arg1: Integer): Boolean; overload; static;

This item has no description.

Public class function ConstructMessageRecursive(arg1: str; arg2: ExceptionFormatValueArray): str; overload; static;

This item has no description.

Public class function UncaughtException(): Boolean; overload; static;

This item has no description.

Public class function GetStackTrace(arg1: Integer): str; overload; static;

This item has no description.

Public class function GetStackTrace(): str; overload; static;

This item has no description.

Public class function FormatStackTrace(arg1: str): str; overload; static;

This item has no description.

Public class function FormatStackTrace(): str; overload; static;

This item has no description.

Public class procedure SetQueryLocation(arg1: optional_idx; arg2: std_unordered_map_std_string_std_string); overload; static;

This item has no description.

Public function what(): PUTF8Char; overload;

This item has no description.

Error Message