catch package:scotty
Catch a synchronous (but not asynchronous) exception and recover from
it.
This is parameterized on the exception type. To catch all synchronous
exceptions, use
catchAny.
Deprecated: Use liftIO instead
Deprecated: Use liftIO instead