3 writes to Exception
Microsoft.Extensions.AI.Abstractions (1)
Contents\FunctionCallContent.cs (1)
95Exception = parsingException
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\FunctionCallContentTests..cs (2)
74c.Exception = e; 83var sut = new FunctionCallContent("callId1", "functionName", new Dictionary<string, object?> { ["key"] = "value" }) { Exception = ex };
8 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); 72Assert.Null(c.Exception); 75Assert.Same(e, c.Exception); 95Assert.Null(deserializedSut.Exception); 282Assert.Null(content.Exception); 325Assert.IsType<InvalidOperationException>(content.Exception); 326Assert.Same(exc, content.Exception.InnerException);