Ina's JNI API provides no support for returning error specifics, instead only returning -1 on error, making errors very difficult to debug or act on from an app developer's perspective. Specific types of errors should be returnable, perhaps with associated data, so that developers can determine at least what kind of error occurred.
Ina's JNI API provides no support for returning error specifics, instead only returning -1 on error, making errors very difficult to debug or act on from an app developer's perspective. Specific types of errors should be returnable, perhaps with associated data, so that developers can determine at least what kind of error occurred.