Share via


KernelException Class

Definition

Represents the base exception from which all Semantic Kernel exceptions derive.

public class KernelException : Exception
type KernelException = class
    inherit Exception
Public Class KernelException
Inherits Exception
Inheritance
KernelException
Derived

Remarks

Instances of this class optionally contain telemetry information in the Exception.Data property using keys that are consistent with the OpenTelemetry standard. See https://opentelemetry.io/ for more information.

Constructors

KernelException()

Initializes a new instance of the KernelException class.

KernelException(String, Exception)

Initializes a new instance of the KernelException class with a specified error message and a reference to the inner exception that is the cause of this exception.

KernelException(String)

Initializes a new instance of the KernelException class with a specified error message.

Applies to