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

Runtime errors #7155

Draft
wants to merge 8 commits into
base: dev/feature
Choose a base branch
from

Conversation

sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Oct 18, 2024

Description

Creates a RuntimeErrorProvider interface that SyntaxElements can implement in order to throw runtime errors and warnings.

image

Currently a rough proof of concept available for feedback.

Future plans include:

  • a notification for online admins with a given permission, telling them to check console.

Out of scope, for future PRs:

  • a try-catch-esque method of suppressing and catching runtime issues
  • the ability to get the last runtime issue as a string.

Target Minecraft Versions: any
Requirements: none
Related Issues: none

@sovdeeth sovdeeth added the feature Pull request adding a new feature. label Oct 18, 2024
@sovdeeth sovdeeth marked this pull request as draft October 18, 2024 00:46
@erenkarakal erenkarakal mentioned this pull request Oct 18, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull request adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant