goog.testing.TestCase.Error
Classgoog.testing.TestCase.Error(source, message, opt_stack)
A class representing an error thrown by the test
source
{string
}
message
{string
}
opt_stack
{string
=}
.message
{string
}Reference to the test function.
.source
{string
}The name of the test which threw the error.
.stack
{?string
}Scope that the test function should be called in.
.toString()
Returns a string representing the error object.
string
}