     JCampaignData.one { campaign, email }, {}, (err, model) ->
 
       return callback err                          if err
-      return callback message: 'Already applied!'  if model
+      return callback new KodingError 'Already applied!'  if model
 
       model = new JCampaignData data
       model.save callback


  @add: (data, callback) ->

    return callback message: 'Email is missing!'          unless data.email
    return callback message: 'Campaign info is missing!'  unless data.campaign

    { campaign, email } = data


# coffeelint: disable=no_implicit_braces
jraphical   = require 'jraphical'
KodingError = require '../error'

emailsanitize = require './user/emailsanitize'

