AtriumErrorAdjuster

Responsible to adjust a given Throwable (usually an AtriumError) for improved error reporting.

Typically, this involves filtering the stack traces (stackTrace in JVM, stack in JS) in some way or another (also the stack trace of the cause or suppressed Throwables).

Inheritors

Responsible to adjust a given AtriumError for improved error reporting.

Typically, this involves filtering stack in some way or another.

Inheritors

Responsible to adjust a given AtriumError for improved error reporting.

Typically, this involves filtering the AtriumError.stackTrace in some way or another.

Inheritors

Functions

Link copied to clipboard
abstract fun adjust(throwable: Throwable)

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).

abstract fun adjust(throwable: Throwable)

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).

abstract fun adjust(throwable: Throwable)

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).

Link copied to clipboard
abstract fun adjustOtherThanStacks(throwable: Throwable)

Adjusts parts of the given throwable but not its stack trace.

abstract fun adjustOtherThanStacks(throwable: Throwable)

Adjusts parts of the given throwable but not its stack trace.

abstract fun adjustOtherThanStacks(throwable: Throwable)

Adjusts parts of the given throwable but not its stack trace.

Link copied to clipboard
abstract fun adjustStack(stackTrace: Sequence<String>): Sequence<String>

Adjusts the stack in some way or another.

Link copied to clipboard

Adjusts the given Throwable.stackTrace in some way or another.