3 writes to Exception
Microsoft.Extensions.AI.Abstractions (1)
Contents\FunctionCallContent.cs (1)
95
Exception
= parsingException
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\FunctionCallContentTests..cs (2)
74
c.
Exception
= e;
83
var 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)
30
Assert.Null(c.
Exception
);
72
Assert.Null(c.
Exception
);
75
Assert.Same(e, c.
Exception
);
95
Assert.Null(deserializedSut.
Exception
);
282
Assert.Null(content.
Exception
);
325
Assert.IsType<InvalidOperationException>(content.
Exception
);
326
Assert.Same(exc, content.
Exception
.InnerException);