[ https://issues.apache.org/jira/browse/THRIFT-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Erickson updated THRIFT-3520: ---------------------------------- Summary: Dart TSocket onError stream should be typed as Object (was: Dart TSocket onError handler is too restrictive) > Dart TSocket onError stream should be typed as Object > ----------------------------------------------------- > > Key: THRIFT-3520 > URL: https://issues.apache.org/jira/browse/THRIFT-3520 > Project: Thrift > Issue Type: Bug > Components: Dart - Library > Reporter: Mark Erickson > Assignee: Mark Erickson > Fix For: 1.0 > > > PROBLEM > Dart TSocket exposes an onError Stream<String>. However, the payload may be > either a String or an Error, and should be typed as . It was incorrectly > expecting a String, when the stream's type is Object. > SOLUTION > Accept an Object, to match the stream. -- This message was sent by Atlassian JIRA (v6.3.4#6332)