 
     plan.fetchProducts (err, products) ->
       return callback err  if err
-      return callback message: "no products found"  unless products?.length
+      return callback new KodingError 'no products found'  unless products?.length
 
       quantities = {}
 

{ Base } = require 'bongo'

module.exports = class JResourcePlan extends Base


      options.plan = plan

      @subscribeToPlan client, options, callback


