InvalidArgumentError

public struct InvalidArgumentError : BSONErrorProtocol

An error thrown when the user passes in invalid arguments to a BSON method.