errors
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| IconNotFoundError pycons.iconify.errors Icon or icon set does not exist. |
||
| IconifyError pycons.iconify.errors Base class for errors when fetching Iconify data. |
||
| IconifyRateLimitError pycons.iconify.errors Request was rejected by the rate limiter (HTTP 429). |
🛈 DocStrings¶
Exceptions raised by the Iconify wrappers.
IconNotFoundError
¶
IconifyError
¶
Bases: Exception
Base class for errors when fetching Iconify data.
Source code in src/pycons/iconify/errors.py
IconifyRateLimitError
¶
Bases: IconifyError
Request was rejected by the rate limiter (HTTP 429).
The public Iconify API is meant for loading icons on demand. Bulk data (whole icon sets) should come from the CDN or a self-hosted API instance. See https://iconify.design/docs/api/ ("Limits").