ErrorContent(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 ErrorContent class with the specified error message.
public:
ErrorContent(System::String ^ message);
public ErrorContent(string? message);
new Microsoft.Extensions.AI.ErrorContent : string -> Microsoft.Extensions.AI.ErrorContent
Public Sub New (message As String)
Parameters
- message
- String
The error message to store in this content.