Class ApiErrorContent
Represents the content of an API error response, including the content as a string and its content type. Used to store error details when the error response
is not in text/plain
or a known/expected format.
Namespace: Singulink.Net.Http.Api
Assembly: Singulink.Net.Http.Api.dll
Syntax
public class ApiErrorContent
Constructors
Name | Description |
---|---|
ApiErrorContent(string, string) | Initializes a new instance of the ApiErrorContent class with the specified content and content type. |
Properties
Name | Description |
---|---|
Content | Gets the content of the API error response as a string. |
ContentType | Gets the content type of the API error response. |