new ThrowStrategy()
Strategy which throws an exception on failure.
- Source:
Methods
fail(msg)
Throw an exception with the specified message.
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | The error message. |
- Source: