Test.AssertionError Class
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.
test/js/AssertionError.js:1
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.
getMessage
Defined in
test/js/AssertionError.js:34
Returns a fully formatted error for an assertion failure. This should be overridden by all subclasses to provide specific information.
toString
Defined in
test/js/AssertionError.js:44
Returns a string representation of the error.
message
Defined in
test/js/AssertionError.js:14
Error message. Must be duplicated to ensure browser receives it.