Skip to content

Return an error instead of aborting on panics in C API #2397

Open
@seanmonstar

Description

@seanmonstar

The C API will currently abort after catching a panic, for safety reasons. However, we shouldn't abort, but rather catch it and return an error code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ffiArea: ffi (C API)C-refactorCategory: refactor. This would improve the clarity of internal code.E-easyEffort: easy. A task that would be a great starting point for a new contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions