Constructor AIGuardrailException
- Namespace
- IntentSharp.Providers
- Assembly
- IntentSharp.dll
AIGuardrailException(string, string)
Creates the exception for the named limit.
public AIGuardrailException(string guardrail, string message)
Parameters
guardrailstringThe name of the limit, for example "MaxModelCalls".
messagestringWhat the limit stopped.
AIGuardrailException(string, string, Exception)
Creates the exception for the named limit, with the exception that caused it.
public AIGuardrailException(string guardrail, string message, Exception innerException)
Parameters
guardrailstringThe name of the limit, for example "MaxModelCalls".
messagestringWhat the limit stopped.
innerExceptionExceptionThe exception that caused the stop.