TNEntityError
@objcMembers
public class TNEntityError : NSObject, Codable, Error
Representation of errors
-
Code of error
Declaration
Swift
private(set) public var status: Int { get } -
Error description
Declaration
Swift
private(set) public var message: String? { get } -
Initializer for error
Declaration
Swift
public init(status: Int, message: String? = nil)Parameters
statusCode of error
messageError description. Can be nil, in that case message will be set to matching code in
messagesDict -
Initializer for error
Declaration
Swift
public init(_ type: TNErrorType)Parameters
typeTNErrorType
-
Undocumented
See moreDeclaration
Swift
public enum TNErrorType
TNEntityError Class Reference