Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' into qasm-make-parser-member
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusprubio authored May 17, 2019
2 parents f68c3e4 + df12fa0 commit 32177c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `@qiskit/qiskit-qasm`: Make QasmError a class
- `@qiskit/qiskit-qasm`: Use QasmError for jison error handling
- `@qiskit/qiskit-qasm`: Make parser a member of class Parser
- `@qiskit/qiskit-qasm`: Use TypeError as error for incorrect type

## [0.9.0] - 2019-05-13

Expand Down
2 changes: 1 addition & 1 deletion packages/qiskit-qasm/lib/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Parser {

parse(circuit) {
if (!circuit) {
throw new Error('Required param: circuit');
throw new TypeError('Required param: circuit');
}

let res;
Expand Down

0 comments on commit 32177c2

Please sign in to comment.