Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error handling for non-Error instances in fetchUser function
* Check if `error` is an instance of `Error` before accessing `message` property * Set a generic error message if `error` is not an instance of `Error`
- Loading branch information