lib/initializer.js
/**
  * @private
  * @method _registerErrors
  * @description Register errors in the errors class.
  */
@private
@method _registerErrors
@description Register errors in the errors class.
@private @method _registerErrors @description Register errors in the errors class .
_registerErrors() {
    this._Errors.registerErrorWithNumber(
      'registerComponent expects object as param, holding 2 properties:'
      + ' 1) priority: {integer} - this will determine the order of execution'
      + ' (lower win)'
      + ' 2) component: {fn} - the component function that needs to be executed'
      + ' Note: the component function will be instantiated with "new" as class',
      1
    );
    this._Errors.registerErrorWithNumber(
      'setCallback expects callback {function} as param,'
      + ' which will be called,'
      + ' when all components are instantiated and resolved',
      2
    );
  }
_registerErrors ( ) { this . _Errors . registerErrorWithNumber ( 'registerComponent expects object as param, holding 2 properties:' + ' 1) priority: {integer} - this will determine the order of execution' + ' (lower win)' + ' 2) component: {fn} - the component function that needs to be executed' + ' Note: the component function will be instantiated with "new" as class' , 1 ) ; this . _Errors . registerErrorWithNumber ( 'setCallback expects callback {function} as param,' + ' which will be called,' + ' when all components are instantiated and resolved' , 2 ) ; }
@private
 @method _registerErrors
 @description Register errors in the errors class.
@private @method _registerErrors @description Register errors in the errors class .