Fauna v10 .NET/C# Driver 1.0.0
 
Loading...
Searching...
No Matches
FaunaException.cs
Go to the documentation of this file.
1using Fauna.Core;
2
3namespace Fauna.Exceptions;
4
8public class FaunaException : Exception
9{
14 public FaunaException(string message) : base(message) { }
15
21 public FaunaException(string message, Exception innerException)
22 : base(message, innerException) { }
23
28 public FaunaException(ErrorInfo err) : base(message: err.Message) { }
29}
30
Represents the base exception class for all exceptions specific to Fauna interactions.
FaunaException(string message)
Initializes a FaunaException with a message.
FaunaException(string message, Exception innerException)
Initializes a FaunaException with a message and inner exception.
FaunaException(ErrorInfo err)
Initializes a FaunaException from an ErrorInfo instance.
Contains detailed information about an error in a query response.
Definition ErrorInfo.cs:11