# Day 22 — Exception handling ## Goal Learn how Python exceptions work and how to create custom exception types. ## Tasks - [x] Learn `try` and `except` - [x] Learn `raise` - [x] Create `ServiceNotFoundError` - [x] Create `InvalidStatusError` - [x] Handle exceptions independently - [x] Test successful and unsuccessful scenarios - [x] Add `day22/README.md` - [x] Update main `README.md` - [x] Commit and push changes
Day 22 — Exception handling
Goal
Learn how Python exceptions work and how to create custom exception types.
Tasks
tryandexceptraiseServiceNotFoundErrorInvalidStatusErrorday22/README.mdREADME.md