# Guard/Catch

**URL:** <https://forums.swift.org/t/guard-catch/6264>\
**Category:** Pitches\
**Created:** [July 5, 2017, 5:30pm UTC](https://forums.swift.org/t/guard-catch/6264 "2017-07-05T17:30:50Z")\
**Posts on this page:** 1\
**Showing post:** 32

<div class="post-metadata">

**Author:** ![Avi](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/avi/32/2962_2.png) [@Avi](https://forums.swift.org/u/Avi)\
**Post date:** [October 24, 2018, 5:55am UTC](https://forums.swift.org/t/guard-catch/6264/32 "2018-10-24T05:55:10Z")

</div>

> [@broomburgo](#):
>
> First of all, if I'm returning an optional from a throwing function, it's probably the case that I want the Optional to be there in the returned value: the only reason why I would consider doing that is if the semantics of Optional are pretty meaningful in that case.

I think [SE-0230: Flatten nested optionals resulting from `try?`](https://forums.swift.org/t/se-0230-flatten-nested-optionals-resulting-from-try/16570) is relevant here.

---

_[View the full topic](https://forums.swift.org/t/guard-catch/6264)._
