Adding error code output when the graph fails to load.

Fixes #6