Optional
causeThe underlying error that caused the communication failure, such as network timeouts, connection refused, or JSON parsing errors.
Optional
errorsDetailed error information returned by the AI Guard API, formatted according to the JSON:API error specification.
Error thrown when the AI Guard SDK encounters communication failures or API errors while attempting to evaluate conversations.