# What to do about \`static func main() throws\`?

**URL:** <https://forums.swift.org/t/what-to-do-about-static-func-main-throws/69031>\
**Category:** Discussion\
**Created:** [December 16, 2023, 10:52pm UTC](https://forums.swift.org/t/what-to-do-about-static-func-main-throws/69031 "2023-12-16T22:52:18Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [December 18, 2023, 9:16pm UTC](https://forums.swift.org/t/what-to-do-about-static-func-main-throws/69031/9 "2023-12-18T21:16:20Z")

</div>

for context, there was [some discussion](https://forums.swift.org/t/exit-codes-from-main/61698) about this last year, but i don’t recall it leading anywhere.

---

_[View the full topic](https://forums.swift.org/t/what-to-do-about-static-func-main-throws/69031)._
