MRErrorProtocol
public protocol MRErrorProtocol : NSError
Undocumented
-
Returns error short codes chain from all levels
Declaration
Swift
func shortCodesChain() -> String
Return Value
error short codes
-
Full event chain from all levels, includes errors short codes and full errors description
Declaration
Swift
func eventChain() -> String
Return Value
string with errors short codes and full errors description
-
Short domain name (ex. Network -> NE)
Declaration
Swift
func domainShortName() -> String
Return Value
short domain name
-
Error short code (ex. NE13)
Declaration
Swift
var shortCode: String { get }
-
Error code human-readable description
Declaration
Swift
var errorCodeName: String { get }
-
A human-readable message string summarizing the reason for the exception
Declaration
Swift
var systemMessage: String? { get }
-
Additional info which may be used to describe the error further
Declaration
Swift
var userInfo: [String : Any] { get }
-
A user-readable message string summarizing the reason for the exception
Declaration
Swift
var localizedDescription: String { get }