PromiseError

public enum PromiseError : Int, Swift.Error, CustomNSError

约定错误

  • Undocumented

    Declaration

    Swift

    case failed = 2001
  • Undocumented

    Declaration

    Swift

    case validation = 2002
  • Undocumented

    Declaration

    Swift

    case timeout = 2003
  • Declaration

    Swift

    public static var errorDomain: String { get }
  • Declaration

    Swift

    public var errorCode: Int { get }
  • Declaration

    Swift

    public var errorUserInfo: [String : Any] { get }