[ 
https://issues.apache.org/jira/browse/PROTON-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215112#comment-14215112
 ] 

Darryl L. Pierce commented on PROTON-743:
-----------------------------------------

There is still an issue, though, with having more than one instance of Error 
for a given instance of Messenger. Having two separate instances from two 
separate error cases and then clearing one error also clears out the other, 
which can be confusing to a programmer. 

> [PATCH] ruby: user doesn't have access to clear messenger error object
> ----------------------------------------------------------------------
>
>                 Key: PROTON-743
>                 URL: https://issues.apache.org/jira/browse/PROTON-743
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: ruby-binding
>    Affects Versions: 0.8
>            Reporter: Dominic Evans
>            Assignee: Darryl L. Pierce
>            Priority: Minor
>         Attachments: 
> 0001-Wrapper-pn_error-so-user-has-more-control-over-it.patch
>
>
> Once messenger error has been set and it has been read from messenger.error 
> and logged / acted upon, it would be useful for the user to be able to clear 
> the error object so they can continue operating. Wrappering it up in an Error 
> class makes this easier.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to