instrumentError method

void instrumentError (
  1. String correlationId,
  2. String name,
  3. dynamic err,
  4. [bool reerror = false]
)
inherited

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