Constructor SpecialistGuardrailException
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
SpecialistGuardrailException(string, GuardrailDecision)
Creates the exception.
public SpecialistGuardrailException(string intentName, GuardrailDecision decision)
Parameters
intentNamestringThe intent.
decisionGuardrailDecisionThe decision that refused the request.
Exceptions
- ArgumentNullException
decisionis null.