Invert the following validators.
Test an Error to be a RangeError.
Test an Error to be a ReferenceError.
Test an Error to be a SyntaxError.
Test an Error to be a TypeError.
Test an Error to be a URIError.
Test the error object to have specific keys.
One or more keys which should be part of the error object.
Test an error to be of a specific instance type.
The expected instance type of the error.
Test if the value matches a custom validation function. The validation function should return true
if the value
passes the function. If the function either returns false
or a string, the function fails and the string will be
used as error message.
Validation function.
Test an error to have a specific message.
Expected message of the Error.
Test the error message to include a specific message.
Message that should be included in the error.
Test an error to have a specific name.
Expected name of the Error.
Test an Error to be an EvalError.