ESTRequestBaseError

enum ESTRequestBaseError : NSInteger {}

Describes possible errors that can occur during sending request.

  • Error was encountered during the connection attempt.

    Declaration

    Objective-C

    ESTRequestBaseErrorConnectionFail = -1

    Swift

    case connectionFail = -1
  • No data was returned as a response or it couldn’t be parsed as JSON.

    Declaration

    Objective-C

    ESTRequestBaseErrorNoData = -2

    Swift

    case noData = -2
  • The server cannot or will not process the request due to an apparent client error.

    Declaration

    Objective-C

    ESTRequestBaseErrorBadRequest = 400

    Swift

    case badRequest = 400
  • The server is refusing to respond to the request, authorization is required for the resource.

    Declaration

    Objective-C

    ESTRequestBaseErrorUnauthorized = 401

    Swift

    case unauthorized = 401
  • The server is refusing to respond to the request, the user does not have the necessary permissions for the resource.

    Declaration

    Objective-C

    ESTRequestBaseErrorForbidden = 403

    Swift

    case forbidden = 403
  • The requested resource could not be found.

    Declaration

    Objective-C

    ESTRequestBaseErrorNotFound = 404

    Swift

    case notFound = 404
  • Estimote Cloud failed to properly handle the request.

    Declaration

    Objective-C

    ESTRequestBaseErrorInternalServerError = 500

    Swift

    case internalServerError = 500