Union Tags

  • Represents the possible error types that can be returned from OAuth linking. Includes errors from both Implicit Grant (See RFC6749 4.2.2.1) and Extension Grants (See RFC6749 5.2), and a couple of SDK defined errors outside of OAuth2 specification.

    See more

    Declaration

    Objective-C

    enum DBOAuthErrorType : NSInteger {}

    Swift

    enum DBOAuthErrorType : Int, @unchecked Sendable
  • The DBAuthResultTag enum type represents the possible tag states that the DBOAuthResult union can exist in.

    See more

    Declaration

    Objective-C

    enum DBOAuthResultTag : NSInteger {}

    Swift

    enum DBOAuthResultTag : Int, @unchecked Sendable

DBRequestError generic error

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

    See more

    Declaration

    Objective-C

    enum DBRequestErrorTag : NSInteger {}

    Swift

    enum DBRequestErrorTag : Int, @unchecked Sendable