Table of Contents

Constructor DatabaseSchemaOutOfDateException

Namespace
MailFathom.Application.Persistence
Assembly
MailFathom.Application.dll

DatabaseSchemaOutOfDateException(string, IReadOnlyList<string>)

Initializes a new stale-schema failure for the migrations the database has not applied.

public DatabaseSchemaOutOfDateException(string operatorSafeMessage, IReadOnlyList<string> pendingMigrationIdentifiers)

Parameters

operatorSafeMessage string

A message naming migration identifiers and the command that applies them.

pendingMigrationIdentifiers IReadOnlyList<string>

The migrations the build defines that the database does not carry.

Exceptions

ArgumentNullException

Thrown when pendingMigrationIdentifiers is null.