UNPKG

@twilio/voice-react-native-sdk

Version:
20 lines (16 loc) 526 B
import { TwilioError } from './TwilioError'; /** * Error describing that an SDK function is invoked with an invalid argument. * * @public */ export class InvalidArgumentError extends TwilioError { description: string = 'Invalid argument error.'; explanation: string = 'The SDK has encountered a situation where invalid arguments were passed.'; constructor(message: string) { super(message); Object.setPrototypeOf(this, InvalidArgumentError.prototype); this.name = InvalidArgumentError.name; } }