Reasons for failed requests - Plot over time?

I have found another approach for nodeJS.

Create an exception based custom metric and in the advanced settings it allows you to split by
Exception:Message