Effect CommunityEC
Effect Community9mo ago
3 replies
Industrial

Testing Errors in a Service

Hi.

https://gist.github.com/Industrial/b9041e661bcfa375426029609e404f73

I am trying to learn how to use errors in Effect.gen and found https://effect.website/docs/error-management/yieldable-errors.

How do I test what happens if an env var is not set?
Gist
GitHub Gist: instantly share code, notes, and snippets.
config.test.ts
Was this page helpful?