Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auth): handle error properly in loadCurrentUser
Updated the loadCurrentUser function to throw specific errors when an API error occurs. This improves clarity and error handling, replacing the generic "No current user result" exception.
- Loading branch information