Module

Effect.Exception.Unsafe

#unsafeThrowException

unsafeThrowException :: forall a. Error -> a

Throw an exception in pure code. This function should be used very sparingly, as it can cause unexpected crashes at runtime.

#unsafeThrow

unsafeThrow :: forall a. String -> a

Defined as unsafeThrowException <<< error.

Modules