Skip to content

Commit 6f1a916

Browse files
authored
fixed #42 (#43)
* fixed #42 * removed condition and description properties from OperationTimeoutError
1 parent 13de0c6 commit 6f1a916

File tree

4 files changed

+108
-168
lines changed

4 files changed

+108
-168
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 0.2.0 - 2019-05-17
2+
- 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).
3+
14
### 0.1.15 - 2019-04-10
25
- Export rhea types for `Typed`. [PR](https://github.com/amqp/rhea-promise/pull/36).
36
- Export rhea types for `WebSocketImpl` and `WebSocketInstance`. [PR](https://github.com/amqp/rhea-promise/pull/38).

lib/operationTimeoutError.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,8 @@ export class OperationTimeoutError extends Error {
99
* Describes the name of the error.
1010
*/
1111
readonly name: string = "OperationTimeoutError";
12-
/**
13-
* Provides a logical amqp error condition.
14-
*/
15-
readonly condition: string = "amqp:operation-timeout";
16-
/**
17-
* Provides a short description about the error.
18-
*/
19-
description: string;
2012

2113
constructor(message: string) {
2214
super(message);
23-
this.description = message;
2415
}
2516
}

0 commit comments

Comments
 (0)