Currently when using -pipe (and NOT using -quiet), the error stream provides an error message and a snippet of the code where the error occurred, but there isn't a simple way to programmatically correlate that with a diagram's text. Could information such as the line number be included? This is provided by -syntax but that doesn't return the diagram image when successful.