Adding DatabaseError to error types.