Improving Error Handling in TypeScript: Converting `getCurrentCompany` Function to Use Effects - Effect Community