expect class AtriumError : AssertionError
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.
val message: String?
Usually the error message but an empty string in case of certain test-runners. |
fun getLocalizedMessage(): String?
Returns |
|
fun toString(): String
Returns first getLocalizedMessage and then the qualified name of this exception. |
fun create(message: String, atriumErrorAdjuster: AtriumErrorAdjuster): AtriumError
Creates an AtriumError and adjusts it with the given atriumErrorAdjuster before it is returned. |