UIWebViewで発生する可能性のあるエラーのカテゴリはありますか?私のアプリでは、URLの読み込み中に発生した実際のエラーを表示する必要があります。didFailLoadWithErrorメソッドでエラーを出力できますが、エラーについての長い説明は次のようになります。
didFailLoadWithError Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x895fb10 {NSErrorFailingURLStringKey=https://mobilelogin.bwanet.ca/mdninput.html?csphostid=J13y8E9t000Mb3ZK00001H7R, NSErrorFailingURLKey=https://mobilelogin.bwanet.ca/mdninput.html?csphostid=J13y8E9t000Mb3ZK00001H7R, NSLocalizedDescription=A server with the specified hostname could not be found., NSUnderlyingError=0x8c68f20 "A server with the specified hostname could not be found."}
これらの考えられるエラーをどのように分類し、「指定されたホスト名が見つかりませんでした」、「URLタイムアウトエラー」などのように表示したいと思います。