Debugging & Errors
Error handling in PodioKit follows the normal Cocoa error handling patterns, which means it uses exceptions for programmatic errors and
NSError for runtime errors. For errors that occur during a network requests, the error is provided in the
PKTRequestCompletionBlock callback together with the PKTResponse object.
You can inspect the
body properties of the response object to determine if the error was a client or server side error.