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

Throw an error when function doesn't exist #94

Open
oshogbo opened this issue Jan 15, 2022 · 0 comments
Open

Throw an error when function doesn't exist #94

oshogbo opened this issue Jan 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@oshogbo
Copy link
Contributor

oshogbo commented Jan 15, 2022

In the sapi_library, one of the parameters is a list of sandboxed functions.
Currently, when a symbol doesn't exist in the library, it's silently ignored.

I think this behavior is misleading.
If the API of the library is changed, there won't be any indication while building the SAPI library.
In some cases, this also may lead to extensive debugging from users why such function is not exposed in API class.

We should throw an error when a function can't be found in the library.

@oshogbo oshogbo changed the title Throw an error when function doesn't exists Throw an error when function doesn't exist Jan 15, 2022
@cblichmann cblichmann added the enhancement New feature or request label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants