Avatar
guard let foo = try getFoo() catch let error as QuxError { return 98 } catch { return 99 } guard let bar = try foo.bar() catch let error as QuxError { return 97 } catch { return 99 } // bar を使う処理 (edited)