die static method

Cause<Never> die(
  1. Object throwable, [
  2. StackTrace? stackTrace
])

Creates a Die cause from an unexpected throwable

Implementation

static Cause<Never> die(Object throwable, [StackTrace? stackTrace]) =>
    Die(throwable, stackTrace);