monix.execution.misc
Extractor of non-fatal Throwable instances.
Throwable
This is an alternative to scala.util.control.NonFatal that only considers VirtualMachineError as being non-fatal.
scala.util.control.NonFatal
VirtualMachineError
Returns true if the provided Throwable is to be considered non-fatal, or false if it is to be considered fatal
Returns Some(t) if NonFatal(t) == true, otherwise None
Extractor of non-fatal
Throwable
instances.This is an alternative to
scala.util.control.NonFatal
that only considersVirtualMachineError
as being non-fatal.