       if result && result.ok
         return cb null, result
 
-      err = new Error(result.error || "NOT OK")
+      err = new Error result.error ? result.message ? unknownErrMsg
       cb err
 
   deleteAssembly: (assemblyId, cb) ->

      if result && result.ok
        return cb null, result

      err = new Error(result.error || "NOT OK")
      cb err
  
  deleteTemplate: (templateId, cb) ->

      if result && result.ok
        return cb null, result

      err = new Error result.error ? result.message ? unknownErrMsg
      cb err

  editTemplate: (templateId, params, cb) ->
