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
status
Code of error
message
Error 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
type
TNErrorType
-
Undocumented
See moreDeclaration
Swift
public enum TNErrorType