Skip to content

ApiConnectionException

Namespace: TypeSafe.AI.Sdk

public class ApiConnectionException : TypeSafeException, ISerializable

The request or response-body delivery failed (DNS, TLS, connection closed, etc.). Mirrors JS APIConnectionError.

Inheritance: object → Exception → TypeSafeException

Implements: ISerializable

Derived: ApiTimeoutException

View source

ApiConnectionException(string?, Exception?)

Section titled “ApiConnectionException(string?, Exception?)”
public ApiConnectionException(string? message = null, Exception? innerException = null)

Create a connection error.

Parameters

Name Type Description
message string
innerException Exception

View source

MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API