1 Interpreting Error Codes
Eric Marchand edited this page 2018-09-01 09:30:20 +02:00

First go to OAuthSwiftError swift code

case retain = -10

You must keep a reference to the oauth swift object

self.oauthswift = ...

ie. you must retain it in memory

why?

because oauth swift is easiest garageable like this, and this prevent memory leak

case requestError = -11

This error contains an other error. Could be a network error, or an error send by oauth provider.