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
problemsIReadOnlyList<DocumentProblem>The problems, at least one.
Exceptions
- ArgumentNullException
problemsis 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
problemsIReadOnlyList<DocumentProblem>The problems, at least one.
innerExceptionExceptionThe exception that caused it.
Exceptions
- ArgumentNullException
problemsis null.