ApiConnectionException
Namespace: TypeSafe.AI.Sdk
public class ApiConnectionException : TypeSafeException, ISerializableThe request or response-body delivery failed (DNS, TLS, connection closed, etc.).
Mirrors JS APIConnectionError.
Inheritance: object → Exception → TypeSafeException
Implements: ISerializable
Derived: ApiTimeoutException
Constructors
Section titled “Constructors”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 |
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API