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

Make atomvm:add_avm_pack_file/2 return a meaningful error #697

Merged
merged 1 commit into from
Jul 23, 2023

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Jul 22, 2023

This change is required for #657.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Function was raising an out of memory error for all kind of errors, make
it return specific errors so we can have better error handling.

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio merged commit 900b601 into atomvm:master Jul 23, 2023
78 of 81 checks passed
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.

2 participants