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

Macros for exception context #897

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Macros for exception context #897

merged 3 commits into from
Sep 21, 2023

Conversation

vyzo
Copy link
Collaborator

@vyzo vyzo commented Sep 21, 2023

A couple of utility macros in :std/error to aid error raisers.
Also fixes clown shoes with double *** ERROR display in the repl.

 The repl handler prepends an *** ERROR, which makes it two in the
 same line with our own.
 To avoid this situation, we check if there is output in the port
 buffer already, and if that's the case print a newline before
 displaying our exception.
@vyzo vyzo requested a review from fare September 21, 2023 17:42
@netlify
Copy link

netlify bot commented Sep 21, 2023

Deploy Preview for elastic-ritchie-8f47f9 ready!

Name Link
🔨 Latest commit f56f35c
🔍 Latest deploy log https://app.netlify.com/sites/elastic-ritchie-8f47f9/deploys/650c901d8f6ff70008342374
😎 Deploy Preview https://deploy-preview-897--elastic-ritchie-8f47f9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

refactoring left over, raise-unspecified-error does not exist any
more.
@vyzo vyzo merged commit 53beb93 into master Sep 21, 2023
@vyzo vyzo deleted the check-arguments branch September 21, 2023 19:48
@vyzo vyzo added this to the Gerbil v0.18: Nimzowitsch milestone Sep 21, 2023
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