Banking

What does credit risk primarily measure for a lender?