Skip to content

InvalidResponseDataException

Namespace: E2E.Decision.Sdk

public sealed class InvalidResponseDataException : Exception, ISerializable

The AI SDK’s InvalidResponseDataError: the provider’s answers break the contract of the questions.

Inheritance: object → Exception

Implements: ISerializable

View source

InvalidResponseDataException(string, object?)

Section titled “InvalidResponseDataException(string, object?)”
public InvalidResponseDataException(string message, object? answers = null)

The AI SDK’s InvalidResponseDataError: the provider’s answers break the contract of the questions.

Parameters

Name Type Description
message string
answers object

public object? Answers { get; }

The rejected answers.

Value: object