The goog.asserts.AssertionError Class

goog.asserts.AssertionError
> goog.debug.Error
> Error

goog.asserts.AssertionError(messagePattern, messageArgs)

Error object for failed assertions.

messagePattern {string}
The pattern that was used to form message.
messageArgs {!Array.<*>}
The items to substitute into the pattern.

.messagePattern {string}

The message pattern used to format the error message. Error handlers can use this to uniquely identify the assertion.

.name