TypeScript API / contentia/core / ContentiaTask / fail
Function: fail()
ts
function fail(error): ContentiaTask<never>;Fails fatally without yielding a value.
Parameters
| Parameter | Type |
|---|---|
error | ContentiaError |
Returns
ContentiaTask<never>