feat: add EnviromentKeyMissing exception for missing environment variables
This commit is contained in:
parent
76c1a2b67f
commit
17d3e1bf38
@ -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` |
|
||||
|
||||
---
|
||||
|
||||
### 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.")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user