DBRequestErrorTag

Objective-C

enum DBRequestErrorTag : NSInteger {}

Swift

enum DBRequestErrorTag : Int, @unchecked Sendable

Represents the possible error types that can be returned from network requests.

  • Errors produced at the HTTP layer.

    Declaration

    Objective-C

    DBRequestErrorHttp

    Swift

    case http = 0
  • Errors due to bad input parameters to an API Operation.

    Declaration

    Objective-C

    DBRequestErrorBadInput

    Swift

    case badInput = 1
  • Errors due to invalid authentication credentials.

    Declaration

    Objective-C

    DBRequestErrorAuth

    Swift

    case auth = 2
  • Errors due to invalid authentication credentials.

    Declaration

    Objective-C

    DBRequestErrorPathRoot

    Swift

    case pathRoot = 3
  • Errors due to invalid permission to access.

    Declaration

    Objective-C

    DBRequestErrorAccess

    Swift

    case access = 4
  • Error caused by rate limiting.

    Declaration

    Objective-C

    DBRequestErrorRateLimit

    Swift

    case rateLimit = 5
  • Errors due to a problem on Dropbox.

    Declaration

    Objective-C

    DBRequestErrorInternalServer

    Swift

    case internalServer = 6
  • Errors due to a problem on the client-side of the SDK.

    Declaration

    Objective-C

    DBRequestErrorClient

    Swift

    case client = 7