qiskit/releasenotes/notes/0.24/error-pass-callable-message...

7 lines
220 B
YAML

---
features:
- |
The transpiler pass :class:`~.transpiler.passes.Error` now accepts callables
in its ``msg`` parameter. These should be a callable that takes in the
``property_set`` and returns a string.