13 public string?
Id {
get; }
18 public string?
Name {
get; }
37 public NullDocumentException(
string?
id,
string? name,
Module collection,
string cause) : base($
"Document {id ?? name} in collection {collection.Name} is null: {cause}")
An exception representing a case when a document cannot be materialized because it does not exist.
NullDocumentException(string? id, string? name, Module collection, string cause)
Initializes a new instance of the NullDocumentException class.
string? Name
The name associated with the document. In the case of user documents, this will be null.
string Cause
The cause for the null document.
string? Id
The ID associated with the document. In the case of named documents, this will be null.
Module Collection
The collection to which the document belongs.
Represents a module, a singleton object grouping related functionalities. Modules are serialized as @...