Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype AsException = AsException {}
- bugsnagExceptionFromSomeException :: SomeException -> Exception
Documentation
newtype AsException Source #
Newtype over Exception
, so it can be thrown and caught
Instances
Exception AsException Source # | |
Defined in Network.Bugsnag.Exception | |
Show AsException Source # | |
Defined in Network.Bugsnag.Exception showsPrec :: Int -> AsException -> ShowS # show :: AsException -> String # showList :: [AsException] -> ShowS # |
bugsnagExceptionFromSomeException :: SomeException -> Exception Source #
Construct a Exception
from a SomeException