Skip to content

Commit

Permalink
fixed #42 (#43)
Browse files Browse the repository at this point in the history
* fixed #42

* removed condition and description properties from OperationTimeoutError
  • Loading branch information
amarzavery authored May 17, 2019
1 parent 13de0c6 commit 6f1a916
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 168 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 0.2.0 - 2019-05-17
- Updated `OperationTimeoutError` to be a non-AMQP Error as pointed out in [#42](https://github.com/amqp/rhea-promise/issues/42). Fixed in [PR](https://github.com/amqp/rhea-promise/pull/43).

### 0.1.15 - 2019-04-10
- Export rhea types for `Typed`. [PR](https://github.com/amqp/rhea-promise/pull/36).
- Export rhea types for `WebSocketImpl` and `WebSocketInstance`. [PR](https://github.com/amqp/rhea-promise/pull/38).
Expand Down
9 changes: 0 additions & 9 deletions lib/operationTimeoutError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,8 @@ export class OperationTimeoutError extends Error {
* Describes the name of the error.
*/
readonly name: string = "OperationTimeoutError";
/**
* Provides a logical amqp error condition.
*/
readonly condition: string = "amqp:operation-timeout";
/**
* Provides a short description about the error.
*/
description: string;

constructor(message: string) {
super(message);
this.description = message;
}
}
Loading

0 comments on commit 6f1a916

Please sign in to comment.