Safe Haskell | Safe-Inferred |
---|---|
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
Exception AsException Source # | |
Defined in Network.Bugsnag.Exception Methods toException :: AsException -> SomeException # fromException :: SomeException -> Maybe AsException # displayException :: AsException -> String # | |
Show AsException Source # | |
Defined in Network.Bugsnag.Exception Methods showsPrec :: Int -> AsException -> ShowS # show :: AsException -> String # showList :: [AsException] -> ShowS # |
bugsnagExceptionFromSomeException :: SomeException -> Exception Source #
Construct a Exception
from a SomeException