ValidationError(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.