Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Capture Q# compilation errors and raise as Python exceptions #467

Open
cgranade opened this issue Jul 8, 2021 · 0 comments
Open

Capture Q# compilation errors and raise as Python exceptions #467

cgranade opened this issue Jul 8, 2021 · 0 comments
Labels
Area-Python Issue relates to the Python client for the IQ# kernel. Kind-Enhancement New feature or request

Comments

@cgranade
Copy link
Contributor

cgranade commented Jul 8, 2021

Is your feature request related to a problem? Please describe.
Currently, qsharp.compile writes Q# compilation errors to stderr and returns None on failure.

Describe the solution you'd like
Possibly capture Q# compilation errors and convert to a Python exception that can be caught and handled by user-code.

Additional context
Discussed in comments on #466.

@cgranade cgranade added the Kind-Enhancement New feature or request label Jul 8, 2021
@cgranade cgranade added the Area-Python Issue relates to the Python client for the IQ# kernel. label Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Python Issue relates to the Python client for the IQ# kernel. Kind-Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant