8000 [Feature Request] parser.print_error into a variable · Issue #45 · nadavrot/layout · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Feature Request] parser.print_error into a variable #45

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

Open
ssokolow opened this issue May 16, 2025 · 0 comments
Open

[Feature Request] parser.print_error into a variable #45

ssokolow opened this issue May 16, 2025 · 0 comments

Comments

@ssokolow
Copy link
ssokolow commented May 16, 2025

I just incorporated layout-rs into a custom pulldown-cmark frontend I'm working on (eventually to be the new static site generator for my blog) and I'd really like to be able to route the formatted error through my usual error-handling machinery without having to either maintain a downstream patch or momentarily hijack stdout as if I were setting and then unsetting the current working directory for an inflexible subprocess.

I'll offer up a PR if I get to the point where I don't have any more pressing TODOs before anyone else does.

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

No branches or pull requests

1 participant
0