BearError

@objcMembers
public class BearError : NSObject, Error

The BearError exposes short description, type and in some cases reason of occurred error.

  • Returns type of the occurred error.

    Declaration

    Swift

    public let type: BearErrorType
  • Returns short description of the occurred error.

    Declaration

    Swift

    public let shortDescription: String
  • Returns reason of the occurred error if possible or nil.

    Declaration

    Swift

    public let reason: String?