Documentation
Table of Contents

Constructor GuardrailLoadException

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.Guardrails.dll

GuardrailLoadException(IReadOnlyList<DocumentProblem>)

Creates the exception for documents that did not load.

public GuardrailLoadException(IReadOnlyList<DocumentProblem> problems)

Parameters

problems IReadOnlyList<DocumentProblem>

The problems, at least one.

Exceptions

ArgumentNullException

problems is null.

GuardrailLoadException(IReadOnlyList<DocumentProblem>, Exception)

Creates the exception for documents that could not be used, with the exception that caused it.

public GuardrailLoadException(IReadOnlyList<DocumentProblem> problems, Exception innerException)

Parameters

problems IReadOnlyList<DocumentProblem>

The problems, at least one.

innerException Exception

The exception that caused it.

Exceptions

ArgumentNullException

problems is null.