ValidationError(String, String) Constructor

Definition

Initializes a new instance of the ValidationError class.

public ValidationError(string path, string message);
new Azure.AI.AgentServer.Responses.ValidationError : string * string -> Azure.AI.AgentServer.Responses.ValidationError
Public Sub New (path As String, message As String)

Parameters

path
String

The JSON path to the invalid field (e.g., $.model, $.tools[0].type).

message
String

A human-readable description of the constraint that was violated.

Applies to