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

Add support for warnings #1735

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Add support for warnings #1735

wants to merge 12 commits into from

Conversation

drkameleon
Copy link
Collaborator

Description

After re-designing our Error system (with quite some success), we should also enable some form of Warning system.

This isn't going to be anything too elaborate, just a uniform way to support basic, non-throwing warning messages (e.g. "function X has been deprecated, use Y.").

Also, we should make it possible to make these warnings disappear on-demand - for example, based on a flag or sth along the lines.

Along with this new "feature", we should also add an library function (warn would sounds quite self-explanatory I think), which would go in the Exceptions (could be renamed? 🤔 )

Let's go for it! 🚀

Type of change

  • New feature (non-breaking change which adds functionality)

@drkameleon drkameleon added vm Issues related to the Virtual Machine implementation error handling Issues related to Error handling library Issues related to the standard library labels Sep 25, 2024
@github-actions github-actions bot removed vm Issues related to the Virtual Machine implementation error handling Issues related to Error handling library Issues related to the standard library labels Sep 25, 2024
@github-actions github-actions bot added vm Issues related to the Virtual Machine implementation error handling Issues related to Error handling command line Issues related to Arturo's command-line and options labels Sep 25, 2024
…dd-support-for-warnings

# Conflicts:
#	version/build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command line Issues related to Arturo's command-line and options error handling Issues related to Error handling vm Issues related to the Virtual Machine implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant