The following TypeError occurred when a 401 error occurred.
Fixed to use AuthenticationError.
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/pyfcm/fcm.py", line 67, in notify
return self.parse_response(response)
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/pyfcm/baseapi.py", line 195, in parse_response
raise ("There was an error authenticating the sender account")
TypeError: exceptions must derive from BaseException
The following TypeError occurred when a 401 error occurred. Fixed to use AuthenticationError.