list_all_categories
MealDB.list_all_categories()Retrieves a simple list of all category names.
Returns
| Name | Type | Description |
|---|---|---|
| CategoryList | CategoryList object containing category names. |
Raises
| Name | Type | Description |
|---|---|---|
| httpx.HTTPError | Check httpx’s documentation for all possible exceptions. | |
| httpx.HTTPStatusError | If the API returns a non-2xx status code. |