Fauna v10 .NET/C# Driver 0.2.0-beta
 
Loading...
Searching...
No Matches
NullDocumentException.cs
Go to the documentation of this file.
1using Fauna.Types;
2
3namespace Fauna.Exceptions;
4
5internal class NullDocumentException : Exception
6{
7 public string Id { get; }
8
9 public Module Collection { get; }
10
11 public string Cause { get; }
12
13 public NullDocumentException(string id, Module collection, string cause) : base($"Document {id} in collection {collection.Name} is null: {cause}")
14 {
15 Id = id;
16 Collection = collection;
17 Cause = cause;
18 }
19}
Represents a module, a singleton object grouping related functionalities. Modules are serialized as @...
Definition Module.cs:8