goog.testing.TestCase.ErrorProvided Bygoog.testing.TestCase.ErrorA class representing an error thrown by the test new Error( source, message, opt_stack )ParameterssourcestringThe name of the test which threw the error. messagestringThe error message. opt_stackstring=A string showing the execution stack. VIEW SOURCEInstance Methodsexpand_morethis.toString() → stringReturns a string representing the error object. ParametersNone.ReturnsstringA string representation of the error. VIEW SOURCEInstance Propertiesexpand_morethis.message → stringReference to the test function. VIEW SOURCEexpand_morethis.source → stringThe name of the test which threw the error. VIEW SOURCEexpand_morethis.stack → (string|null)The stack. VIEW SOURCE