handleException( exception ) {
        this.emit( ERROR, {
            exception,
            state: this.state,
            priorState: this.priorState,
            _currentAction: this._currentAction,
            _priorAction: this._priorAction,
            currentActionArgs: this.currentActionArgs
        } );
    }
/**
     * Hook for process error
     * @param {Object} exception
     */
Hook for process error
@param {Object} exception
Hook for process error @param { Object } exception
handleException( exception ) {
        this.emit( ERROR, {
            exception,
            state: this.state,
            priorState: this.priorState,
            _currentAction: this._currentAction,
            _priorAction: this._priorAction,
            currentActionArgs: this.currentActionArgs
        } );
    }
handleException ( exception ) { this . emit ( ERROR , { exception , state : this . state , priorState : this . priorState , _currentAction : this . _currentAction , _priorAction : this . _priorAction , currentActionArgs : this . currentActionArgs } ) ; }
Hook for process error
 @param {Object} exception
Hook for process error @param { Object } exception