SwiftKit Documentation

Enumeration General​Error

public enum GeneralError: Error, LocalizedError, Equatable  
%7 GeneralError GeneralError LocalizedError LocalizedError GeneralError->LocalizedError Equatable Equatable GeneralError->Equatable Error Error GeneralError->Error

Conforms To

Equatable
Error
LocalizedError

Enumeration Cases

multiple​Error

case multipleError([Error]) 

Multiple Error Generalization

with this you can output one error from several errors

unidentified​Error

case unidentifiedError

Default unidentified Error

Properties

error​Description

public var errorDescription: String?  

Operators

==

public static func == (lhs: GeneralError, rhs: GeneralError) -> Bool