BoxSDKErrorEnum

public enum BoxSDKErrorEnum : BoxEnum
extension BoxSDKErrorEnum: ExpressibleByStringLiteral

Box SDK Error

  • Box client was destroyed

    Declaration

    Swift

    case clientDestroyed
  • URL is invalid

    Declaration

    Swift

    case invalidURL(urlString: String)
  • The requested resource was not found

    Declaration

    Swift

    case notFound(String)
  • Object needed in closure was deallocated

    Declaration

    Swift

    case instanceDeallocated(String)
  • Could not decode or encode keychain data

    Declaration

    Swift

    case keychainDataConversionError
  • Value not found in Keychain

    Declaration

    Swift

    case keychainNoValue
  • Unhandled keychain error

    Declaration

    Swift

    case keychainUnhandledError(String)
  • Request has hit the maximum number of retries

    Declaration

    Swift

    case rateLimitMaxRetries
  • Value for key is of an unexpected type

    Declaration

    Swift

    case typeMismatch(key: String)
  • Value for key is not one of the accepted values

    Declaration

    Swift

    case valueMismatch(key: String, value: String, acceptedValues: [String])
  • Value for key is of a valid type, but was not able to convert value to expected type

    Declaration

    Swift

    case invalidValueFormat(key: String)
  • Key was not present

    Declaration

    Swift

    case notPresent(key: String)
  • The file representation couldn’t be made

    Declaration

    Swift

    case representationCreationFailed
  • Error with TokenStore operation (write, read or clear)

    Declaration

    Swift

    case tokenStoreFailure
  • Unsuccessful token retrieval. Token not found

    Declaration

    Swift

    case tokenRetrieval
  • OAuth web session authorization failed due to invalid redirect configuration

    Declaration

    Swift

    case invalidOAuthRedirectConfiguration
  • Couldn’t obtain authorization code from OAuth web session result

    Declaration

    Swift

    case invalidOAuthState
  • Unauthorized request to API

    Declaration

    Swift

    case unauthorizedAccess
  • Unsuccessful refresh token retrieval. Token not found in the retrieved TokenInfo object

    Declaration

    Swift

    case refreshTokenNotFound
  • Access token has expired

    Declaration

    Swift

    case expiredToken
  • Authorization with JWT token failed

    Declaration

    Swift

    case jwtAuthError
  • Authorization with CCG token failed

    Declaration

    Swift

    case ccgAuthError
  • Couldn’t create paging iterable for non-paged response

    Declaration

    Swift

    case nonIterableResponse
  • The end of the list was reached

    Declaration

    Swift

    case endOfList
  • Custom error message

    Declaration

    Swift

    case customValue(String)
  • Declaration

    Swift

    public init(_ value: String)
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public init(stringLiteral value: String)