• Philipp von Weitershausen's avatar
    Style fixes · 7685d9f6
    Philipp von Weitershausen authored
    - import statements need to be determinated by semicolons too
    - if we're using ES6 imports now, we might as well use ES6 exports too
    - strive to stay within 80 chars per line
    7685d9f6
MediaStreamError.js 259 bytes
'use strict';
export default class MediaStreamError {
  name: string;
  message: ?string;
  constraintName: ?string;
  constructor(error) {
    this.name = error.name;
    this.message = error.message;
    this.constraintName = error.constraintName;