Creating an Auth Guard Function with Error Handling in Effect Typescript - Effect Community