API Docs for: 3.8.0
Show:

Test.AssertionError Class

Module: test

Error is thrown whenever an assertion fails. It provides methods to more easily get at error information and also provides a base class from which more specific assertion errors can be derived.

Item Index

Properties

Methods

getMessage

() String

Returns a fully formatted error for an assertion failure. This should be overridden by all subclasses to provide specific information.

Returns:

String: A string describing the error.

toString

() String

Returns a string representation of the error.

Returns:

String: A string representation of the error.

Properties

message

String

Error message. Must be duplicated to ensure browser receives it.

name

String

The name of the error that occurred.