[
https://issues.apache.org/jira/browse/THRIFT-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753097#comment-16753097
]
James E. King III commented on THRIFT-79:
-----------------------------------------
It would be nice to do this in many languages.
> Thrift::TransportException should have specific subclasses for error types
> instead of the "type" accesor
> --------------------------------------------------------------------------------------------------------
>
> Key: THRIFT-79
> URL: https://issues.apache.org/jira/browse/THRIFT-79
> Project: Thrift
> Issue Type: Improvement
> Components: Ruby - Library
> Reporter: Bryan Duxbury
> Priority: Minor
>
> The "type" attribute of Thrift::TransportException seems rather awkward. The
> idiom in a lot of languages, Ruby included, is to make subclasses for each
> exception type. I think we should switch to subclasses in Ruby.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)