MongoDbError Class

Definition

Describes an error or warning that occurred during a MongoDB migration

public class MongoDbError
type MongoDbError = class
Public Class MongoDbError
Inheritance
MongoDbError

Constructors

MongoDbError()

Initializes a new instance of the MongoDbError class.

MongoDbError(String, Nullable<Int32>, String, String)

Initializes a new instance of the MongoDbError class.

Properties

Code

Gets or sets the non-localized, machine-readable code that describes the error or warning

Count

Gets or sets the number of times the error or warning has occurred

Message

Gets or sets the localized, human-readable message that describes the error or warning

Type

Gets or sets the type of error or warning Possible values include: 'Error', 'ValidationError', 'Warning'

Applies to