Fauna v10 .NET/C# Driver 1.0.0
 
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
Fauna.Exceptions.NullDocumentException Class Reference

An exception representing a case when a document cannot be materialized because it does not exist. More...

Inheritance diagram for Fauna.Exceptions.NullDocumentException:

Public Member Functions

 NullDocumentException (string? id, string? name, Module collection, string cause)
 Initializes a new instance of the NullDocumentException class.
 

Properties

string? Id [get]
 The ID associated with the document. In the case of named documents, this will be null.
 
string? Name [get]
 The name associated with the document. In the case of user documents, this will be null.
 
Module Collection [get]
 The collection to which the document belongs.
 
string Cause [get]
 The cause for the null document.
 

Detailed Description

An exception representing a case when a document cannot be materialized because it does not exist.

Definition at line 8 of file NullDocumentException.cs.

Constructor & Destructor Documentation

◆ NullDocumentException()

Fauna.Exceptions.NullDocumentException.NullDocumentException ( string?  id,
string?  name,
Module  collection,
string  cause 
)

Initializes a new instance of the NullDocumentException class.

Parameters
idThe ID of the document. Should be null if it's a named document.
nameThe name of the document. Should be null if it's a user docuemnt.
collectionThe collection associated with the document.
causeThe cause of the null document.

Definition at line 37 of file NullDocumentException.cs.

Property Documentation

◆ Cause

string Fauna.Exceptions.NullDocumentException.Cause
get

The cause for the null document.

Definition at line 28 of file NullDocumentException.cs.

◆ Collection

Module Fauna.Exceptions.NullDocumentException.Collection
get

The collection to which the document belongs.

Definition at line 23 of file NullDocumentException.cs.

◆ Id

string? Fauna.Exceptions.NullDocumentException.Id
get

The ID associated with the document. In the case of named documents, this will be null.

Definition at line 13 of file NullDocumentException.cs.

◆ Name

string? Fauna.Exceptions.NullDocumentException.Name
get

The name associated with the document. In the case of user documents, this will be null.

Definition at line 18 of file NullDocumentException.cs.


The documentation for this class was generated from the following file: