Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Light talk - Better Error handling
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jose Torres Cardenas
January 11, 2017
Programming
0
66
Light talk - Better Error handling
Improve your error handling in swift.
Jose Torres Cardenas
January 11, 2017
Tweet
Share
More Decks by Jose Torres Cardenas
See All by Jose Torres Cardenas
Formalización del Proceso de Elaboración de una Arquitectura de Software
coderpug
0
270
Swift build time optimization
coderpug
1
77
Jose.pdf
coderpug
0
36
Light talk - A byte of Date
coderpug
0
110
CocoaLima - Meeting structure
coderpug
0
53
CocoaLima #2
coderpug
0
53
Server-side development with Swift
coderpug
0
93
Real Time iOS apps with PubNub
coderpug
0
330
Other Decks in Programming
See All in Programming
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
130
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
3
350
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
430
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
130
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
400
ご飯食べながらエージェントが開発できる。そう、Agentic Engineeringならね。
yokomachi
1
270
AI時代のソフトウェア開発でも「人が仕様を書く」から始めよう-医療IT現場での実践とこれから
koukimiura
0
120
TipKitTips
ktcryomm
0
130
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
200
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
200
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
100
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
320
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Navigating Weather and Climate Data
rabernat
0
130
Claude Code のすすめ
schroneko
67
220k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
For a Future-Friendly Web
brad_frost
183
10k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
The browser strikes back
jonoalderson
0
740
It's Worth the Effort
3n
188
29k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
140
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
110
Transcript
better ERROR handling
None
https://twitter.com/drunkxcode
@CoderPug
❌
optionals / assertions / throws / rethrows
optionals / assertions / throws / rethrows
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
None
useful tips
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
https://gist.github.com/CoderPug/52f4db435484cf911927a1a9a8b847dd
References https://developer.apple.com/library/content/documentation/ Swift/Conceptual/Swift_Programming_Language/ ErrorHandling.html https://swifting.io/blog/2017/01/08/32-errorify-string/
THANKS!