Optional causeError cause. Set when there is a
cause for the
error. Will be undefined if there is no cause or if the cause is not an instance of [Error].
Optional errorAdditional context for the error, such as the aria snapshot of the receiver at the time of an expect(...) matcher
failure.
Optional messageError message. Set when [Error] (or its subclass) has been thrown.
Optional stackError stack. Set when [Error] (or its subclass) has been thrown.
Optional valueThe value that was thrown. Set when anything except the [Error] (or its subclass) has been thrown.
Information about an error thrown during test execution.