Ad
  • Custom User Avatar

    You might be throwing an instance of the Error class instead of the value provided as the parameter err. I had the same issue and that's how I got around it.