Skip to content

Commit

Permalink
Update ShopifyException property XmlDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Dec 16, 2023
1 parent 1198de9 commit 569fe00
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions ShopifySharp/Infrastructure/ShopifyException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,16 @@ public class ShopifyException : Exception
[Obsolete("This property is deprecated and will be removed in a future version of ShopifySharp.")]
public HttpResponseMessage HttpResponse { get; }

/// The Http response status code.
public HttpStatusCode HttpStatusCode { get; }

/// <summary>
/// The XRequestId header returned by Shopify. Can be used when working with the Shopify support team to identify the failed request.
/// </summary>
public string RequestId { get; }

/// <remarks>
/// List is always initialized to ensure null reference errors won't be thrown when trying to check error messages.
/// </remarks>
/// A list of error messages returned by Shopify.
public IEnumerable<string> Errors { get; } = Enumerable.Empty<string>();

/// <summary>
/// The raw JSON string returned by Shopify.
/// </summary>
/// The raw string body returned by Shopify.
public string RawBody { get; }

public ShopifyException() { }
Expand Down

0 comments on commit 569fe00

Please sign in to comment.