doc / ch.tutteli.atrium.reporting / AtriumErrorAdjusterCommon / adjust

adjust

abstract fun adjust(throwable: Throwable): Unit (source)

Adjusts the given throwable - typically this involves filtering the stack trace (stackTrace in JVM, stack in JS) in some way or another as well as the stack traces of a Throwable.cause and other stack traces (e.g. stack traces of suppressed throwable in JVM).

Usually the given throwable is an AtriumError but an arbitrary Throwable can be passed