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