 
   @add: (data, callback) ->
 
-    return callback message: 'Email is missing!'          unless data.email
-    return callback message: 'Campaign info is missing!'  unless data.campaign
+    return callback new KodingError 'Email is missing!'          unless data.email
+    return callback new KodingError 'Campaign info is missing!'  unless data.campaign
 
     { campaign, email } = data
 

jraphical = require 'jraphical'

emailsanitize = require './user/emailsanitize'


    JCampaignData.one { campaign, email }, {}, (err, model) ->

      return callback err                          if err
      return callback new KodingError 'Already applied!'  if model

      model = new JCampaignData data
      model.save callback
