UserError
public enum UserError : MongoError
The possible errors caused by improper use of the driver by the user.
-
Thrown when the driver is incorrectly used.
Declaration
Swift
case logicError(message: String)
-
Thrown when the user passes in invalid arguments to a driver method.
Declaration
Swift
case invalidArgumentError(message: String)
-
Declaration
Swift
public var errorDescription: String? { get }