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
The code for the function framework is actually public in the GoogleCloudPlatform/functions-framework-nodejs repository (although not advertised anywhere).
In particular you can see there the cases where killInstance is used, which is the one triggering exit code 16:
const killInstance = process.exit.bind(process, 16);
These cases are (at the time of writing):