Handling Config Errors in Layered App with Effect TypeScript
const accountSid = yield* Config.string("TWILIO_ACCOUNT_SID"))This config could raise an error, but when I'm using this layer as a dependency of another layer, the Error is not available in the main Effect. I don't know how to make the code aware of
the config error in the main effect.
The returned type for the program is
The TwilioNetwork is the layer that contains the ConfigError that's not being exposed
Do I need to catch the error inside the layer? I'm a bit lost here. Thanks for your help!
