Table of Contents

Method HasErrorLabel

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

HasErrorLabel(string)

Determines whether the exception has some error label.

public bool HasErrorLabel(string errorLabel)

Parameters

errorLabel string

The error label.

Returns

bool

true if the exception has some error label; otherwise, false.