QlQueryErrorException
Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.Tenants
Exception thrown when a QL query fails.
public class QlQueryErrorException : Exception, ISerializable
Inheritance Object → Exception → QlQueryErrorException
Implements ISerializable
Properties
Errors
The GraphQL errors of the response (with their extensions); null when the exception was not
created from a GraphQL response.
public IReadOnlyList<GraphQLError> Errors { get; }
Property Value
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
QlQueryErrorException()
public QlQueryErrorException()
QlQueryErrorException(String)
public QlQueryErrorException(string message)
Parameters
message String
QlQueryErrorException(String, Exception)
public QlQueryErrorException(string message, Exception inner)
Parameters
message String
inner Exception
QlQueryErrorException(String, IReadOnlyList<GraphQLError>)
Creates the exception with the GraphQL errors of the response, so a caller can read
extensions.code and extensions.parameters instead of parsing the message.
public QlQueryErrorException(string message, IReadOnlyList<GraphQLError> errors)
Parameters
message String
The message
errors IReadOnlyList<GraphQLError>
The GraphQL errors of the response
QlQueryErrorException(String, IReadOnlyList<GraphQLError>, Exception)
Creates the exception with the GraphQL errors of the response and an inner exception.
public QlQueryErrorException(string message, IReadOnlyList<GraphQLError> errors, Exception inner)
Parameters
message String
The message
errors IReadOnlyList<GraphQLError>
The GraphQL errors of the response
inner Exception
The inner exception