JSONLogicError
public enum JSONLogicError : Error, Equatable
Errors that can be thrown from JsonLogic methods
-
Declaration
Swift
public static func == (lhs: JSONLogicError, rhs: JSONLogicError) -> Bool -
Invalid json data was passed
Declaration
Swift
case canNotParseJSONData(String) -
Invalid json rule was passed
Declaration
Swift
case canNotParseJSONRule(String) -
Could not convert the result from applying the rule to the expected type
Declaration
Swift
case canNotConvertResultToType(Any.Type)
View on GitHub
JSONLogicError Enumeration Reference