UNPKG

@twilio/rtc-diagnostics

Version:

Various diagnostics functions to help analyze connections to Twilio

16 lines (13 loc) 380 B
import { ErrorName } from '../constants'; import { DiagnosticError } from './DiagnosticError'; /** * @internalapi * Error for when a browser-provided feature isn't available, such as * `getUserMedia`. */ export class UnsupportedError extends DiagnosticError { constructor(message: string) { super(undefined, message); this.name = ErrorName.UnsupportedError; } }