Table of Contents

AddHttpExceptionDescriptorConverter Method

Definition

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

converters ICollection<YamlConverter>

The ICollection<T> to extend.

setup Action<ExceptionDescriptorOptions>

The ExceptionDescriptorOptions which may be configured.

Returns

ICollection<YamlConverter>

A reference to converters after the operation has completed.