This repository was archived by the owner on Sep 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11import Foundation
22
33public 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
You can’t perform that action at this time.
0 commit comments