This particular one is just for the routing, but you can certainly alter it so that for any instance of a certain error, it will output a customized error message with whatever info you want. Pretty cool trick, and definitely useful in a pinch