Methods
(static) refute(contract) → {undefined}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
...list |
Any |
<optional> |
Data to feed to the callback |
contract |
Contract | A code block with checks. |
Throws:
-
If one or more checks are failing, an exception is thrown with details about all passing/failing checks. This action can be changed via refute.config() call.
- Type
- Error
Returns:
Return value is ignored.
- Type
- undefined