dd-trace
    Preparing search index...

    Interface AIGuardClientError

    Error thrown when the AI Guard SDK encounters communication failures or API errors while attempting to evaluate conversations.

    interface AIGuardClientError {
        cause?: Error;
        errors?: unknown[];
    }

    Hierarchy

    • Error
      • AIGuardClientError
    Index

    Properties

    Properties

    cause?: Error

    The underlying error that caused the communication failure, such as network timeouts, connection refused, or JSON parsing errors.

    errors?: unknown[]

    Detailed error information returned by the AI Guard API, formatted according to the JSON:API error specification.