Zum Hauptinhalt springen

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​

IReadOnlyList<GraphQLError>

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

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