Error

@objc public class Error: NSObject, ErrorType

Represent the error.

  • Get the error code.

    Declaration

    Swift

    public func getCode() -> UInt32
  • Get the sub error.

    Declaration

    Swift

    public func getSubError() -> Error?
  • Get the detail information of error.

    Declaration

    Swift

    public func getDetail() -> String?