NewErrorHandler creates a ErrorHandler using the content of the received path
(path string, code int)
source not stored for this graph (policy: none)
no outgoing calls