STSCoreErrorCode

enum STSCoreErrorCode {}

StraaS.io core SDK error code

  • Network error, underlying error object is included in the user info dictionary.

    Declaration

    Objective-C

    STSCoreErrorCodeNetwork

    Swift

    case network = 0
  • Check if you’ve set the STSSDKClientID corresponding to your Bundle id in your project info.plist and have called STSApplication configureApplication successfully before use this class.

    Declaration

    Objective-C

    STSCoreErrorCodeWrongInformation

    Swift

    case wrongInformation = 1
  • Succeed to reach our server, but fail to get authorized. Check if you’ve set the authorized STSSDKClientID and bundleId pair.

    Declaration

    Objective-C

    STSCoreErrorCodeUnauthorized

    Swift

    case unauthorized = 2
  • Server side error happened, please try again later or contact with service provider.

    Declaration

    Objective-C

    STSCoreErrorCodeServer

    Swift

    case server = 3