AssertError type (joe)


Extends: Error

The AssertError type represents an exception thrown during the execution of a Joe script by the assert statement, or created by the joe.test package to represent a test value. A script can catch errors thrown during execution using the catch() function.

Initializer

Error Methods

AssertError Initializer


AssertError(message, [trace, ...]) → AssertError

Creates an AssertError with the given message and informational trace messages.