23 lines
898 B
Plaintext
23 lines
898 B
Plaintext
---
|
|
title: OpflowError
|
|
description: API reference for qiskit.opflow.OpflowError
|
|
in_page_toc_min_heading_level: 1
|
|
python_api_type: exception
|
|
python_api_name: qiskit.opflow.OpflowError
|
|
---
|
|
|
|
<span id="qiskit-opflow-opflowerror" />
|
|
|
|
# qiskit.opflow\.OpflowError
|
|
|
|
<Class id="qiskit.opflow.OpflowError" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/opflow/exceptions.py" signature="OpflowError(*message)" modifiers="exception">
|
|
Deprecated: For Opflow specific errors.
|
|
|
|
Set the error message.
|
|
|
|
<Admonition title="Deprecated since version 0.24.0" type="danger">
|
|
The class `qiskit.opflow.exceptions.OpflowError` is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. For code migration guidelines, visit [https://qisk.it/opflow\_migration](https://qisk.it/opflow_migration).
|
|
</Admonition>
|
|
</Class>
|
|
|