sdl2-2.4.1.0: Both high- and low-level bindings to the SDL library (version 2.0.4+).
SDL.Internal.Exception
fromC :: Show a => Text -> Text -> (a -> Maybe b) -> a -> b Source #
getError :: MonadIO m => m Text Source #
throwIf :: MonadIO m => (a -> Bool) -> Text -> Text -> m a -> m a Source #
throwIf_ :: MonadIO m => (a -> Bool) -> Text -> Text -> m a -> m () Source #
throwIf0 :: (Eq a, MonadIO m, Num a) => Text -> Text -> m a -> m a Source #
throwIfNeg :: (MonadIO m, Num a, Ord a) => Text -> Text -> m a -> m a Source #
throwIfNeg_ :: (MonadIO m, Num a, Ord a) => Text -> Text -> m a -> m () Source #
throwIfNot0 :: (Eq a, MonadIO m, Num a) => Text -> Text -> m a -> m a Source #
throwIfNot0_ :: (Eq a, MonadIO m, Num a) => Text -> Text -> m a -> m () Source #
throwIfNull :: MonadIO m => Text -> Text -> m (Ptr a) -> m (Ptr a) Source #