monitors/state.js
/**
   * Assert that no exceptions were aggregated during a call to `checkDirty()`.
   */
Assert that no exceptions were aggregated during a call to `checkDirty()`.
Assert that no exceptions were aggregated during a call to ` checkDirty () ` .
assertNoExceptions() {
    if (this.exceptions && this.exceptions.length > 0) {
      throw new Error(`The following exceptions occurred:\n${this.exceptions.map((exc, idx) => '#' + idx + ': ' + exc.message).join('\n')}`);
    }
  }
assertNoExceptions ( ) { if ( this . exceptions && this . exceptions . length > 0 ) { throw new Error ( ` \n ${ this . exceptions . map ( ( exc , idx ) => '#' + idx + ': ' + exc . message ) . join ( '\n' ) } ` ) ; } }
Assert that no exceptions were aggregated during a call to `checkDirty()`.
Assert that no exceptions were aggregated during a call to ` checkDirty () ` .
// some part of the state was dirty.