throwError package:effectful-core
Throw an error of type
e with
show as a display
function.
Throw an error of type
e and specify a display function in
case a third-party code catches the internal exception and
shows it.
Throw an error of type e with no display function.