import GetUserMediaError from './GetUserMediaError' ; export default class OverconstrainedError extends GetUserMediaError { constructor ( cause ? , public constraint ? ) { super ( cause ) ; this . name = 'OverconstrainedError' ; } }