Type extension
ErrorExtensions
extension ErrorExtensions for E
Module: System
Assembly: System.Runtime.dll
Explicit typed context attachment for authors who implement Error.
Receiver
E
Methods
2 items
Extension member:
WithContext<E>(message: string, captureStackTrace: bool) -> ContextError<E>
Adds context, optionally capturing once at this boundary when no cause trace exists.
Extension from ErrorExtensions.WithContext
Extension member:
WithContext<E>(message: string) -> ContextError<E>
Adds context using the application capture setting (disabled by default).
Extension from ErrorExtensions.WithContext