[beta] Adds a named function
Merge pull request #3909 from twokul/error-stack-bubbleEvent

Adds a named function