AddHttpExceptionDescriptorConverter Method
Definition
- Namespace
- Codebelt.Extensions.AspNetCore.Text.Yaml.Converters
- Assemblies
- Codebelt.Extensions.AspNetCore.Text.Yaml.dll
AddHttpExceptionDescriptorConverter(ICollection<YamlConverter>, Action<ExceptionDescriptorOptions>)
Adds an HttpExceptionDescriptor YAML converter to the list.
public static ICollection<YamlConverter> AddHttpExceptionDescriptorConverter(this ICollection<YamlConverter> converters, Action<ExceptionDescriptorOptions> setup = null)
Parameters
convertersICollection<YamlConverter>The ICollection<T> to extend.
setupAction<ExceptionDescriptorOptions>The ExceptionDescriptorOptions which may be configured.
Returns
- ICollection<YamlConverter>
A reference to
convertersafter the operation has completed.