Table of Contents

Class AuthenticationException

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

HTTP 401: authentication failed.

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

Constructors

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

Create an API error from a completed HTTP response.

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

Parameters

statusCode HttpStatusCode
body object
headers HttpResponseHeaders
message string