Skip to content

No way to return an error with arbitrary message #30

@urmaul

Description

@urmaul

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions