Table of Contents

Class InternalServerException

Namespace
TypeSafe.AI.Sdk
Assembly
TypeSafe.AI.Sdk.dll

HTTP 5xx: the server failed to handle the request.

public class InternalServerException : ApiException, ISerializable
Inheritance
InternalServerException
Implements
Inherited Members

Constructors

InternalServerException(HttpStatusCode, object?, HttpResponseHeaders, string?)

Create an API error from a completed HTTP response.

public InternalServerException(HttpStatusCode statusCode, object? body, HttpResponseHeaders headers, string? message = null)

Parameters

statusCode HttpStatusCode
body object
headers HttpResponseHeaders
message string