Added type to error db.