Errors
-
An empty protocol for encapsulating all errors that this package can throw.
Declaration
Swift
public protocol MongoErrorProtocol : LocalizedError -
Protocol conformed to by errors that may contain error labels.
See moreDeclaration
Swift
public protocol MongoLabeledError : MongoErrorProtocol -
The possible errors that can occur unexpectedly driver-side.
Declaration
Swift
public protocol MongoRuntimeError : MongoErrorProtocol -
Protocol conformed to by errors returned from the MongoDB deployment.
Declaration
Swift
public protocol MongoServerError : MongoLabeledError -
A protocol describing errors caused by improper usage of the driver by the user.
Declaration
Swift
public protocol MongoUserError : MongoErrorProtocol -
Namespace containing all the error types introduced by this driver and their dependent types.
See moreDeclaration
Swift
public enum MongoError -
Namespace containing all the error types introduced by this BSON library and their dependent types.
See moreDeclaration
Swift
public enum BSONError -
An empty protocol for encapsulating all errors that BSON package can throw.
Declaration
Swift
public protocol BSONErrorProtocol : LocalizedError
View on GitHub
Install in Dash
Errors Reference