An exception representing a case when a document cannot be materialized because it does not exist. More...
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. | |
An exception representing a case when a document cannot be materialized because it does not exist.
Definition at line 8 of file NullDocumentException.cs.
Fauna.Exceptions.NullDocumentException.NullDocumentException | ( | string? | id, |
string? | name, | ||
Module | collection, | ||
string | cause | ||
) |
Initializes a new instance of the NullDocumentException class.
id | The ID of the document. Should be null if it's a named document. |
name | The name of the document. Should be null if it's a user docuemnt. |
collection | The collection associated with the document. |
cause | The cause of the null document. |
Definition at line 37 of file NullDocumentException.cs.
|
get |
The cause for the null document.
Definition at line 28 of file NullDocumentException.cs.
|
get |
The collection to which the document belongs.
Definition at line 23 of file NullDocumentException.cs.
|
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.
|
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.