Using the flow name in custom functions as variable

Using the flow name in custom functions as variable

Hi,
In custom functions, is there any way to read/fetch the name of the flow executing that function?

We are sending emails to some specific users inside the custom functions if an unexpected case is occured.
Currently, the emails say which function got error but it is not possible to understand which flow has issue about it. The user should check the history of all the flows to detect the flow having issue.