public Response Error(GraphQlError error) { return(new Response(error.StatusCode, error.ErrorMessage)); }
/// <summary> /// Constructor for a GraphQlException /// </summary> /// <param name="graphQlError">The GraphQL Error</param> public GraphQlException(GraphQlError graphQlError) : base(graphQlError.Message) { GraphQlError = graphQlError; }