Table of Contents

Namespace Cuemon.Diagnostics

Assembly: Cuemon.Core.dll

Capture structured exception context for logging and API error responses, or profile synchronous and asynchronous code execution. Use this namespace when you need detailed exception context or performance measurement. Start with ExceptionDescriptor for structured error reporting, or TimeMeasure / TimeMeasureProfiler for lambda-friendly code profiling.

Availability: .NET 10, .NET 9 and .NET Standard 2.0

Complements: System.Diagnostics namespace 🔗

Related: Cuemon.Extensions.Diagnostics namespace 📘

Classes

AsyncTimeMeasureOptions

Specifies options that is related to TimeMeasure operations. This class cannot be inherited.

ExceptionDescriptor

Provides information about an Exception, in a developer friendly way.

ExceptionDescriptorAttribute

Provides information about an Exception, in a developer friendly way, optimized for open- and otherwise public application programming interfaces (API).

ExceptionDescriptorOptions

Specifies options that is related to ExceptionDescriptor operations.

Failure

Represents a failure model with detailed information about an exception.

FaultHandler<TDescriptor>

Provides a generic way to implement a fault resolver that evaluate an exception and provide details about it in a developer friendly way.

FaultResolver

Provides a way to evaluate an exception and provide details about it in a developer friendly way.

MemberEvidence

Provides evidence about a member.

Profiler

Represents a base class for profiler related operations.

ProfilerOptions

Specifies options that is related to Profiler operations.

TimeMeasure

Provides a flexible, generic and lambda friendly way to perform time measuring operations.

TimeMeasureOptions

Specifies options that is related to TimeMeasure operations.

TimeMeasureProfiler

Represents a profiler that is optimized for time measuring operations.

TimeMeasureProfiler<TResult>

Represents a profiler that is optimized for time measuring operations that provides a return value. This class cannot be inherited.

Interfaces

IExceptionDescriptorOptions

Defines options that is related to ExceptionDescriptor operations.

Enums

FaultSensitivityDetails

Specifies the level of sensitive details to include when serializing an ExceptionDescriptor.