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

Work in Progress: A general error message format. #1744

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

Conversation

cycomachead
Copy link
Collaborator

I realized I never made a PR. This adds type info to blockSpecs which can be exposed in an error message which is dynamically checked and will be a wrapper for JS errors.

The idea is that we will be able to do a few things:

  • throw errors ourselves
  • automatically detect type mismatches after an error occurs and suggest a fix
  • wrap any unexpected JS errors in our own message. (not yet done.)

cycomachead referenced this pull request Jul 8, 2017
now asserting data types to list operations, due to popular request.
This is somewhat sad, because *always* type-asserting *everything* puts
a strain on performance and takes away some of the “liveliness”. But I
hear you, teachers :-/
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.

1 participant