Skip to content

TypeSafeException

Namespace: TypeSafe.AI.Sdk

public class TypeSafeException : Exception, ISerializable

Base class for SDK errors. Mirrors JS TypeSafeError.

Inheritance: object → Exception

Implements: ISerializable

Derived: ApiConnectionException, ApiException, ApiUserAbortException

View source

public TypeSafeException(string message, Exception? innerException = null)

Create an SDK 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