Class ExceptionDescriptorExtensions
- Namespace
- Cuemon.Extensions.Diagnostics
- Assembly
- Cuemon.Extensions.Diagnostics.dll
Extension methods for the ExceptionDescriptor class.
public static class ExceptionDescriptorExtensions
- Inheritance
-
ObjectExceptionDescriptorExtensions
Methods
ToYaml(ExceptionDescriptor, Action<ExceptionDescriptorOptions>)
Converts the specified descriptor
to its equivalent string representation.
public static string ToYaml(this ExceptionDescriptor descriptor, Action<ExceptionDescriptorOptions> setup = null)
Parameters
descriptor
ExceptionDescriptorThe ExceptionDescriptor to extend.
setup
Action<ExceptionDescriptorOptions>The ExceptionDescriptorOptions which may be configured.
Returns
- String
A string that represents the specified
descriptor
.