LoginSignup
3
3

More than 5 years have passed since last update.

BubbleWrapのRSSParserの接続エラーをキャッチする

Posted at

BubbleWrapのRSSParserは内部的にHTTPリクエストを自分で送ってパースしてくれるが、
そのHTTPリクエストで失敗した時の接続エラーをキャッチする方法がマニュアルに全然書いていない。

ソース読むと、 when_parser_errors が接続エラー時のdelegateメソッドであることがわかる。

https://github.com/rubymotion/BubbleWrap/pull/99#issuecomment-22923877

マニュアルに書いてくれるように一応お願いしてみた。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3