@100mslive/hms-video-store
Version:
@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow
24 lines (23 loc) • 864 B
TypeScript
import { HMSAction } from './HMSAction';
import { IAnalyticsPropertiesProvider } from '../analytics/IAnalyticsPropertiesProvider';
import { HMSSignalMethod } from '../signal/jsonrpc/models';
export declare class HMSException extends Error implements IAnalyticsPropertiesProvider {
readonly code: number;
name: string;
message: string;
description: string;
isTerminal: boolean;
action: string;
nativeError?: Error;
constructor(code: number, name: string, action: HMSAction | HMSSignalMethod, message: string, description: string, isTerminal?: boolean);
toAnalyticsProperties(): {
error_name: string;
error_code: number;
error_message: string;
error_description: string;
action: string;
is_terminal: boolean;
};
addNativeError(error: Error): void;
toString(): string;
}