robusta icon indicating copy to clipboard operation
robusta copied to clipboard

No way to return an error with arbitrary message

Open urmaul opened this issue 1 year ago • 2 comments

I have the "catch all panics" wrapper around the code and return a JNI error in this case. With the introduction of errors enum in 0.2.1 this stopped working. Right now JniError::Unknown looks like the best type for this case but there is no way to also provide the error message.

urmaul avatar Jul 04 '23 13:07 urmaul