Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ext/ffi): throw errors instead of panic #13283

Merged
merged 4 commits into from
Jan 5, 2022

Conversation

DjDeveloperr
Copy link
Contributor

Also improves error message for symbol which could not be found (this has been bugging me when developing FFI related projects...)

closes #13280

Copy link
Contributor

@eliassjogreen eliassjogreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you finally!

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DjDeveloperr please add expected messages to assertThrows and we can land this PR 👍

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks

@littledivy littledivy merged commit 9778545 into denoland:main Jan 5, 2022
@DjDeveloperr DjDeveloperr deleted the ffi-errors branch January 5, 2022 07:27
@littledivy littledivy mentioned this pull request Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ffi: Panic on incorrect FFI parameters
4 participants