QueryResultError
open class QueryResultError : DataError
Exception thrown when a query result cannot be converted to the expected type.
-
Default initializer.
Declaration
Swift
override public init()
-
Declaration
Swift
open class func withCause(_ cause: Error?) -> QueryResultError
Parameters
cause
Root cause.
Return Value
A new exception with the specified root cause.
-
Declaration
Swift
open class func withMessage(_ message: String?) -> QueryResultError
Parameters
message
Message text.
Return Value
A new exception with the specified message text.