JudoModelError
public struct JudoModelError
Judo Model Error object
-
The error code of the model error
Declaration
Swift
public var code: JudoModelErrorCode? -
The field name of the error
Declaration
Swift
public var fieldName: String? -
The message of the error
Declaration
Swift
public var message: String? -
The detail of the error
Declaration
Swift
public var detail: String? -
Raw value of the information passed
Declaration
Swift
public var rawValue: JSONDictionary? -
Designated initializer with an object received from the judo API
Declaration
Swift
public init(dict: JSONDictionary)Parameters
dicta key value storage containing model error information
Return Value
a JudoModelError object
JudoModelError Struct Reference