doc / ch.tutteli.atrium.reporting.erroradjusters / NoOpAtriumErrorAdjusterCommon / adjust

adjust

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

Overrides AtriumErrorAdjusterCommon.adjust

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