instrumentError method

void instrumentError (String correlationId, String name, dynamic err, [ bool reerror = false ])

Adds instrumentation to error handling.

  • correlationId (optional) transaction id to trace execution through call chain.
  • name a method name.
  • err an occured error
  • result (optional) an execution result
  • reerror flag for rethrow exception