expanding DATABASE_ERROR enum
adding literal_eval (closes #13)