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)
80c.Exception = e; 89var 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)
31Assert.Null(c.Exception); 78Assert.Null(c.Exception); 81Assert.Same(e, c.Exception); 101Assert.Null(deserializedSut.Exception); 288Assert.Null(content.Exception); 331Assert.IsType<InvalidOperationException>(content.Exception); 332Assert.Same(exc, content.Exception.InnerException);