Using Effect for Error Handling in TypeScript API - Effect Community