Table of Contents

Class MongoServerResolverNotConfigured

Namespace
Cratis.Applications.MongoDB
Assembly
Cratis.Applications.MongoDB.dll

The exception that is thrown when the IMongoServerResolver is missing.

public class MongoServerResolverNotConfigured : Exception, ISerializable
Inheritance
MongoServerResolverNotConfigured
Implements
Inherited Members

Constructors

MongoServerResolverNotConfigured(string)

The exception that is thrown when the IMongoServerResolver is missing.

public MongoServerResolverNotConfigured(string message)

Parameters

message string

The additional message of the error.

Methods

ThrowIfNotConfigured(Type?)

Throw if not configured.

public static void ThrowIfNotConfigured(Type? resolver)

Parameters

resolver Type

The resolver value to check.

Exceptions

MongoServerResolverNotConfigured

Thrown if the resolver is not configured.