Class DuckDbException
Reprsents a database-level error from DuckDB.
Implements
Inherited Members
Namespace: Mallard
Assembly: Mallard.dll
Syntax
public sealed class DuckDbException : Exception, ISerializable
Remarks
This type of exception is thrown from Mallard for run-time errors reported by the native DuckDB library. These errors can include failure to open or operate on a database (file), syntax problems in SQL statements and constraint violations.
Note that run-time errors originating from misuse of or incorrect arguments to Mallard's API, are generally reported by familiar .NET exceptions such as ArgumentException or InvalidOperationException. Such errors get detected by .NET code in Mallard before the relevant requests even reach the DuckDB native library.
Properties
| Edit this page View SourceErrorKind
The category of error (error code) reported by DuckDB.
Declaration
public DuckDbErrorKind ErrorKind { get; }
Property Value
Type | Description |
---|---|
DuckDbErrorKind |