Currently the code simply prints an error. This error however doesn't take into account the cause of the geolocation failure. I was getting messages that my signal wasn't good, but the true reason was that I had simply disable all Safari location permissions. I was genuinely confused.
So in the nearby.js error handler, pass the error to the error handler and print appropriate messages depending on the cause of the failure: