This PR augments the QASM parser exceptions with a proper overload of the std::exception::what() method so that they print proper error messages when raised. This came up in the light of https://github.com/cda-tum/mqt-ddvis/issues/259
Checklist:
[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[x] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.
Description
This PR augments the QASM parser exceptions with a proper overload of the
std::exception::what()
method so that they print proper error messages when raised. This came up in the light of https://github.com/cda-tum/mqt-ddvis/issues/259Checklist: