Mallard
Search Results for

    Show / Hide Table of Contents

    Class DuckDbException

    Reprsents a database-level error from DuckDB.

    Inheritance
    object
    Exception
    DuckDbException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.ReferenceEquals(object, object)
    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 Source

    ErrorKind

    The category of error (error code) reported by DuckDB.

    Declaration
    public DuckDbErrorKind ErrorKind { get; }
    Property Value
    Type Description
    DuckDbErrorKind

    Implements

    ISerializable
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX