IDE: Fire
Version: Version 10.0.0.2400 (develop) built on talax, 20190503-102703. Commit dc2f219.
Target (If relevant): Android
Description:
I am having an error definition like:
public enum ResultError: Swift.Error {
case invalid(String)
case parseError
case networkError
case notFound
case cancelled
}
if I then try to throw it like throw ResultError.parseError
I am getting the following error: org.me.matrixsenseandroid.ResultError cannot be cast to java.lang.Throwable
Expected Behavior:
I would expect to be able to throw a Swift.Error
in Android/Java
Actual Behavior:
The above listed error is being thrown
Steps:
Please find a reproducible project attachedBugReport4.zip (251.7 KB)