Fresh Beginning
  • Home
  • Portfolio
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
Subscribe

Error Handling

A collection of 3 posts
Apple Pay, Error Reporting and Crash
Apple Pay

Apple Pay, Error Reporting and Crash

Working on the Apple platform brings a new kind of challenge and excitement. The environment where it will never cease to amaze you with exciting and never-seen-before circumstances. Today I ran into similar problem which consumed 75% of my day and it wasn't all bad. It gave me insight into
Apr 9, 2019 3 min read
try-catch Blocks and Unit Tests - Swift 3.0
iOS

try-catch Blocks and Unit Tests - Swift 3.0

In the last post [https://www.jayeshkawli.com/try-catch-blocks-swift-3-0/] I wrote about implementing error handler in Swift 3.0 using try-catch block technique. In this post I will go over how to unit test it. Since we all know unit tests are awesome! First off, let's write some fresh code
Jan 27, 2017 3 min read
try-catch blocks - Swift 3.0
Swift 3.0

try-catch blocks - Swift 3.0

Today, I will try to go through some of the error handling techniques Swift uses. As we all know, the standard way to report error in Objective-C is passing an error pointer such as this NSError *error = nil; // Edit - Thanks to @powerje for correction below // Let's assume you have
Jan 23, 2017 4 min read
Fresh Beginning © 2023
Powered by Ghost