Exceptions
Represents a generic configuration error.
Creates a new EdgeDB.ConfigurationException
.
-
message
(string
) – The configuration error message.
Creates a new EdgeDB.ConfigurationException
.
-
message
(string
) – The configuration error message. -
inner
(Exception
) – An inner exception.
Represents a connection failure that cannot be retried.
-
Attempts
(int
) – Gets the number of attempts the client made to reconnect.
Constructs a new EdgeDB.ConnectionFailedException
with the number of connection attempts made.
-
attempts
(int
) – The number of attempts made to connect.
Represents a temporary connection failiure exception.
-
SocketError
(SocketError
) – Gets the socket error that caused the connection to fail.
Constructs a new EdgeDB.ConnectionFailedTemporarilyException
with the specified socket error.
-
error
(SocketError
) – The underlying socket error that caused this exception to be thrown.
Represents a generic error with custom clients.
Constructs a new EdgeDB.CustomClientException
with the specified error message.
-
message
(string
) – The error message describing why this exception was thrown.
Represents an exception that was caused by an error from EdgeDB.
-
Details
(string
) – Gets the details related to the error. -
ServerTraceBack
(string
) – Gets the server traceback log for the error. -
Hint
(string
) – Gets the hint for the error. -
Query
(string
) – Gets the query that caused this error.
Represents a generic exception that occured with the edgedb library.
Constructs a new EdgeDB.EdgeDBException
.
-
shouldRetry
(bool
) – Whether or not this exception is retryable. -
shouldReconnect
(bool
) – Whether or not the client who caught this exception should reconnect.
Constructs a new EdgeDB.EdgeDBException
with the specified error message.
-
message
(string
) – The error message describing why this exception was thrown. -
shouldRetry
(bool
) – Whether or not this exception is retryable. -
shouldReconnect
(bool
) – Whether or not the client who caught this exception should reconnect.
Constructs a new EdgeDB.EdgeDBException
with the specified error message and inner exception.
-
message
(string
) – The error message describing why this exception was thrown. -
innerException
(Exception
) – The inner exception. -
shouldRetry
(bool
) – Whether or not this exception is retryable. -
shouldReconnect
(bool
) – Whether or not the client who caught this exception should reconnect.
Represents an error with the provided connection details.
Constructs a new EdgeDB.InvalidConnectionException
with the specified error message.
-
message
(string
) – The error message describing why this exception was thrown.
Represents an exception that occurs when the server signature is incorrect.
Constructs a new EdgeDB.InvalidSignatureException
.
Represents an exception that occurs when the client doesn’t have a codec for incoming or outgoing data.
Constructs a new EdgeDB.MissingCodecException
with the specified error message.
-
message
(string
) – The error message describing why this exception was thrown.
Represents an exception that occurs when required data isn’t returned.
Constructs a new EdgeDB.MissingRequiredException
.
Represents an exception thrown when no type converter could be found.
Constructs a new EdgeDB.NoTypeConverterException
with the target and source types.
-
target
(Type
) – The target type thatEdgeDB.DocGenerator.docMemberSummaryParamref
was going to be converted to. -
source
(Type
) – The source type.
Constructs a new EdgeDB.NoTypeConverterException
with the target and source type, and inner exception.
-
target
(Type
) – The target type thatEdgeDB.DocGenerator.docMemberSummaryParamref
was going to be converted to. -
source
(Type
) – The source type. -
inner
(Exception
) – The inner exception.
Constructs a new EdgeDB.NoTypeConverterException
with the specified error message.
-
message
(string
) – The error message describing why this exception was thrown. -
inner
(Exception
) – An optional inner exception.
Represents an exception that occurs when a queries cardinality isn’t what the client was expecting.
Constructs a new EdgeDB.ResultCardinalityMismatchException
.
-
expected
(Cardinality
) – The expected cardinality. -
actual
(Cardinality
) – The actual cardinality
Represents an exception that occurs within transactions.
Constructs a new EdgeDB.TransactionException
with a specified error message.
-
message
(string
) – The error message describing why this exception was thrown. -
innerException
(Exception
) – An optional inner exception.