UNPKG

@vonage/client-sdk

Version:

The Client SDK is intended to provide a ready solution for developers to build Programmable Conversation applications across multiple Channels including: Messages, Voice, SIP, websockets, and App.

24 lines (23 loc) 509 B
import { type VonageErrorType } from './Enums'; import vonage from '../utils/vonage'; type VonageErrorJS = { [key in keyof Omit<vonage.VonageErrorJS, 'type'>]: vonage.VonageErrorJS[key]; }; /** * Vonage Error * * @interface */ export type VonageError = { /** * Type of the error */ type: VonageErrorType; } & VonageErrorJS; /** * Vonage Error * * @implements {@link VonageError} */ export declare const VonageError: typeof vonage.VonageErrorJS; export {};