Whether this MessageHandlingError can be treated as a reason why the handling of message failed. If self.cause is None, this is always true. If self.cause is not None, this is only true if cause is message.
(self, message)
| 1047 | return s |
| 1048 | |
| 1049 | def applies_to(self, message): |
| 1050 | """Whether this MessageHandlingError can be treated as a reason why the |
| 1051 | handling of message failed. |
| 1052 | |
| 1053 | If self.cause is None, this is always true. |
| 1054 | |
| 1055 | If self.cause is not None, this is only true if cause is message. |
| 1056 | """ |
| 1057 | return self.cause is None or self.cause is message |
| 1058 | |
| 1059 | def propagate(self, new_cause): |
| 1060 | """Propagates this error, raising a new instance of the same class with the |
no outgoing calls
no test coverage detected