AtriumError

Indicates that an assertion made by Atrium failed.

Its stack trace (stackTrace in JVM, stack in JS) might be filtered so that reporting does not include all stack frames. This depends on the chosen AtriumErrorAdjuster - so theoretically more than the stack trace could be adjusted or nothing at all.

To create such an error you need to use the Companion.create function.

Indicates that an assertion made by Atrium failed.

Its stack might be filtered so that reporting does not include all stack frames. This depends on the chosen AtriumErrorAdjuster - so theoretically more than the stack trace could be adjusted.

As side notice, stack is a property of Error which is currently not visible in Kotlin.

To create such an error you need to use the AtriumError.Companion.create function.

Indicates that an assertion made by Atrium failed.

Its stackTrace might be filtered so that reporting does not include all stack frames. This depends on the chosen AtriumErrorAdjuster - so theoretically more than the stack trace could be adjusted.

To create such an error you need to use the AtriumError.Companion.create function.

Types

Link copied to clipboard
expect object Companion
actual object Companion
actual object Companion

Properties

cause
Link copied to clipboard
open val cause: Throwable?
open val cause: Throwable?
open val cause: Throwable?
Link copied to clipboard
open val message: String?
open val message: String?
open override val message: String?

Usually the error message but an empty string in case of certain test-runners.

Link copied to clipboard

Returns the stack trace of the given Throwable as List of Strings representing the different lines.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getLocalizedMessage(): String?

Returns super.message in order to be not affected by the hack implemented in message

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String

Returns first getLocalizedMessage and then the qualified name of this exception.