A unifying approach to Weyl type theorems for Banach space operators