and in java it does work without it aswell
# announcements
u
and in java it does work without it aswell
r
I'm not sure as I have next to no experience with rx (hopefully someone else can help), but does it have anything to do with raw types? Kotlin does not allow raw types.
u
no no
here is code for the error()
Copy code
public static <T> Single<T> error(final Throwable exception) {
        ObjectHelper.requireNonNull(exception, "error is null");
        return error(Functions.justCallable(exception));
    }
f
yeah I ran into this issue with JDBI as well, see this : https://youtrack.jetbrains.com/issue/KT-5464
u
thanks, ill look into it