Skip to content

Class ExceptionHandlingConfiguration ​

Namespace: Belay.Extensions.Configuration
Assembly: Belay.Extensions.dll

Configuration for exception handling behavior.

csharp
public class ExceptionHandlingConfiguration

Inheritance ​

object ← ExceptionHandlingConfiguration

Inherited Members ​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties ​

ExceptionLogLevel

Gets or sets the log level for exceptions.

IncludeStackTraces

Gets or sets a value indicating whether stack traces should be included in logs.

LogExceptions

Gets or sets a value indicating whether exceptions should be logged.

MaxContextEntries

Gets or sets the maximum number of context entries to preserve.

PreserveContext

Gets or sets a value indicating whether context should be preserved in exceptions.

RethrowExceptions

Gets or sets a value indicating whether exceptions should be rethrown after handling.

Released under the Apache License 2.0.