25 lines
734 B
Plaintext
25 lines
734 B
Plaintext
---
|
||
title: QasmError
|
||
description: API reference for qiskit.qasm.QasmError
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: exception
|
||
python_api_name: qiskit.qasm.QasmError
|
||
---
|
||
|
||
<span id="qiskit-qasm-qasmerror" />
|
||
|
||
# qiskit.qasm.QasmError
|
||
|
||
<Class id="qiskit.qasm.QasmError" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.16/qiskit/qasm/exceptions.py" signature="QasmError(*msg)" modifiers="exception">
|
||
Base class for errors raised while parsing OPENQASM.
|
||
|
||
Set the error message.
|
||
|
||
### with\_traceback
|
||
|
||
<Function id="qiskit.qasm.QasmError.with_traceback" signature="with_traceback()">
|
||
Exception.with\_traceback(tb) – set self.\_\_traceback\_\_ to tb and return self.
|
||
</Function>
|
||
</Class>
|
||
|