feat: add EnviromentKeyMissing exception for missing environment variables

This commit is contained in:
Chipperfluff 2025-07-05 17:41:02 +02:00
parent 76c1a2b67f
commit 17d3e1bf38
2 changed files with 6 additions and 1 deletions

View File

@ -107,3 +107,8 @@ All built-in cast functions handle common edge cases:
| `cast_none_or_str` | Returns `None` if value is `null` or `None` | | `cast_none_or_str` | Returns `None` if value is `null` or `None` |
--- ---
### EnviromentKeyMissing
if a key is get from `env.get` and it has no default given it will raise
EnviromentKeyMissing(f"Environment variable '{key}' not found.")

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name='multinut', name='multinut',
version='0.2.2', version='0.2.3',
packages=find_packages(), packages=find_packages(),
install_requires=["dotenv"], install_requires=["dotenv"],
author='Chipperfluff', author='Chipperfluff',