RxSwiftCommunity / RxSwiftExt

A collection of Rx operators & tools not found in the core RxSwift distribution
MIT License
1.33k stars 213 forks source link

Remove dublicated test errors #trivial #240

Closed M0rtyMerr closed 5 years ago

M0rtyMerr commented 5 years ago

RxSwift main repo use this strategy to avoid countless private struct MyError: Swift.Error. We actually need only one test error type for whole project, no need to create own on every class. In case of complicated error logic (which i can't see now) custom private type can be created