4 writes to Exception
Microsoft.Extensions.AI.Abstractions (1)
Contents\FunctionCallContent.cs (1)
107Exception = parsingException
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\FunctionCallContentTests.cs (2)
73c.Exception = e; 164var sut = new FunctionCallContent("callId1", "functionName", new Dictionary<string, object?> { ["key"] = "value" }) { Exception = ex };
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
2264Exception = fcc.Exception,
9 references to Exception
Microsoft.Extensions.AI.Abstractions (1)
Contents\FunctionCallContent.cs (1)
52/// This property is for information purposes only. The <see cref="Exception"/> is not serialized as part of serializing
Microsoft.Extensions.AI.Abstractions.Tests (7)
Contents\FunctionCallContentTests.cs (7)
30Assert.Null(c.Exception); 71Assert.Null(c.Exception); 74Assert.Same(e, c.Exception); 176Assert.Null(deserializedSut.Exception); 351Assert.Null(content.Exception); 394Assert.IsType<InvalidOperationException>(content.Exception); 395Assert.Same(exc, content.Exception.InnerException);
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
2264Exception = fcc.Exception,