|
|
|
|
|
by umpalumpaaa
173 days ago
|
|
What I like about objective-c’s error handling approach is that a method that can fail is able to tell if a caller considers error handling or not. If the passed *error is NULL you know that that is no way for a caller to properly handle the error. My implementations usually have this logic: if error == NULL and operationFailed then log error
Otherwise
Let client side do the error handling (in terms of logging) |
|