Module

Effect.Exception.Unsafe

Package
exceptions
Repository
purerl/purescript-exceptions

#unsafeThrowException Source

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 Source

unsafeThrow :: forall a. String -> a

Defined as unsafeThrowException <<< error.