Skip to content

ApiTimeoutException

Namespace: TypeSafe.AI.Sdk

public class ApiTimeoutException : ApiConnectionException, ISerializable

The full response did not arrive within the timeout. A kind of ApiConnectionException. Mirrors JS APITimeoutError.

Inheritance: object → Exception → TypeSafeException → ApiConnectionException

Implements: ISerializable

View source

public ApiTimeoutException(int timeoutMs, Exception? innerException = null)

Create a timeout error.

Parameters

Name Type Description
timeoutMs int
innerException Exception

View source

public int TimeoutMs { get; }

Configured timeout in milliseconds.

Value: int

View source

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