notifyMethodFailed

fun notifyMethodFailed(callId: String, exception: Throwable, durationMs: Long)(source)

Notifies observers that a traced method failed with an exception.

Called by compiler-injected code when a method throws an exception.

Parameters

callId

The call ID returned by notifyMethodStart

exception

The thrown exception

durationMs

Time in milliseconds from method start