lib/objective/child.js
function() {
        if (typeof objective.promised === 'undefined') {
          debug('Got no promise from objective function');
          return pipeline.emit('objective.not.promised',{
            config: config,
            fn: objectiveFn,
            result: running,
            deferral: deferral,
            root: root
          },
          function(err){
            if (typeof err !== 'undefined' && err !== null) {
              clearRequire();
              objective.currentChild = null;
              return deferral.reject(err);
            }
            clearRequire();
            objective.currentChild = null;
            deferral.resolve();
          });
        }
        return objective.promised;
      }
function() {
        if (typeof objective.promised === 'undefined') {
          debug('Got no promise from objective function');
          return pipeline.emit('objective.not.promised',{
            config: config,
            fn: objectiveFn,
            result: running,
            deferral: deferral,
            root: root
          },
          function(err){
            if (typeof err !== 'undefined' && err !== null) {
              clearRequire();
              objective.currentChild = null;
              return deferral.reject(err);
            }
            clearRequire();
            objective.currentChild = null;
            deferral.resolve();
          });
        }
        return objective.promised;
      }
function ( ) { if ( typeof objective . promised === 'undefined' ) { debug ( 'Got no promise from objective function' ) ; return pipeline . emit ( 'objective.not.promised' , { config : config , fn : objectiveFn , result : running , deferral : deferral , root : root } , function ( err ) { if ( typeof err !== 'undefined' && err !== null ) { clearRequire ( ) ; objective . currentChild = null ; return deferral . reject ( err ) ; } clearRequire ( ) ; objective . currentChild = null ; deferral . resolve ( ) ; } ) ; } return objective . promised ; }
send inject error into objective at arg 'e','err' or 'error' (if present)
send inject error into objective at arg e err or error ( if present )