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
Labels
Area-Python
Issue relates to the Python client for the IQ# kernel.
Kind-Enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Currently,
qsharp.compile
writes Q# compilation errors tostderr
and returnsNone
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.
The text was updated successfully, but these errors were encountered: