return package:haskell-gi-base

Inject a value into the monadic type.
A common omission in the introspection data is missing (nullable) annotations for return types, when they clearly are nullable. (A common idiom is "Returns: valid value, or %NULL if something went wrong.") Haskell wrappers will raise this exception if the return value is an unexpected nullPtr.
Check that the given pointer is not NULL. If it is, raise a UnexpectedNullPointerReturn exception.