one of my cloud functions on firebase exits with code 16 as an error.
I tried to google and find out what that code is but no luck at all.
Error: P
Apparently and after investigation, the error means something like: Headers already sent.
I had somewhere in my code a response.send() with headers and then, later on, I was sending another response.
Would be great if the Firebase team could elaborate with these issues and provide some documentation instead of leaving us blindfolded (to my understanding)