add DatabaseError exception class