Skip to content

TypeScript API / contentia/core / ContentiaTask / fail

Function: fail() ​

ts
function fail(error): ContentiaTask<never>;

Fails fatally without yielding a value.

Parameters ​

ParameterType
errorContentiaError

Returns ​

ContentiaTask<never>