BoxSDKError

public class BoxSDKError : Error
extension BoxSDKError: CustomStringConvertible
extension BoxSDKError: LocalizedError

Describes general SDK errors

  • Type of error

    Declaration

    Swift

    public var errorType: String
  • Error message

    Declaration

    Swift

    public var message: BoxSDKErrorEnum
  • Stack trace

    Declaration

    Swift

    public var stackTrace: [String]
  • Error

    Declaration

    Swift

    public var error: Error?
  • Get a dictionary representing BoxSDKError

    Declaration

    Swift

    public func getDictionary() -> [String : Any]
  • Provides error JSON string if found.

    Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public var errorDescription: String? { get }