src/components/error.js
// This class is responsible to display generic errors related to whole uploader.
This class is responsible to display generic errors related to whole uploader.
This class is responsible to display generic errors related to whole uploader .
function UIError(params) {
  if (!(this instanceof UIError)) {
    return new UIError(params);
  }
  this.message = null;
  this.hidden = true;
}
function UIError ( params ) { if ( ! ( this instanceof UIError ) ) { return new UIError ( params ) ; } this . message = null ; this . hidden = true ; }
This class is responsible to display generic errors related to whole uploader.
This class is responsible to display generic errors related to whole uploader .
// Protect against forgetting the new keyword when instantiating objects