     execute "INSERT INTO " + table + " (" + fields + ") VALUES (" + values + ")"
 
   _throwError = (transaction, error) ->
-    throw new Error(ERROR.DATABASE_TRANSACTION + error.code + ": " + error.message + " \n Executed query: " + transaction.executedQuery)
+    throw new Error("[ERROR] Device.DB " + error.code + ": " + error.message + " \n Executed query: " + transaction.executedQuery)
 
   init: init
   select: select

###

Device.DB = do(dvc = Device) ->
  ERROR = lng.Constants.ERROR
  CONFIG =
    name: "lungo_db"
    version: "1.0"
    size: 65536
    schema: []

  db = null

  ###

  @param {Function} Callback when the process is complete
  ###
  execute = (sql, callback) ->
    db.transaction (transaction) ->
      transaction.executeSql sql, [], ((transaction, rs) ->
        _callbackResponse callback, rs
      ), (transaction, error) ->
        transaction.executedQuery = sql
        _throwError.apply null, arguments

  _createTable = (table, fields) ->
    sql_fields = ""
