Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 68f8b7f

Browse files
committed
Use public level
1 parent c7a4eb2 commit 68f8b7f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

WordPressKit/JetpackServiceRemote.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Foundation
22

33
public struct JetpackInstallError: LocalizedError {
4-
enum ErrorType: String {
4+
public enum ErrorType: String {
55
case invalidCredentials = "INVALID_CREDENTIALS"
66
case forbidden = "FORBIDDEN"
77
case installFailure = "INSTALL_FAILURE"
@@ -18,19 +18,19 @@ public struct JetpackInstallError: LocalizedError {
1818
}
1919
}
2020

21-
var title: String?
22-
var code: Int
23-
var type: ErrorType
21+
public var title: String?
22+
public var code: Int
23+
public var type: ErrorType
2424

25-
static var unknown: JetpackInstallError {
25+
public static var unknown: JetpackInstallError {
2626
return JetpackInstallError(type: .unknown)
2727
}
2828

29-
init(title: String? = nil, code: Int = 0, key: String) {
29+
public init(title: String? = nil, code: Int = 0, key: String) {
3030
self.init(title: title, code: code, type: ErrorType(error: key))
3131
}
3232

33-
init(title: String? = nil, code: Int = 0, type: ErrorType = .unknown) {
33+
public init(title: String? = nil, code: Int = 0, type: ErrorType = .unknown) {
3434
self.title = title
3535
self.code = code
3636
self.type = type

0 commit comments

Comments
 (0)