-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updating the changelog and using constants for some values
- Loading branch information
1 parent
659288f
commit 4f0bcdf
Showing
4 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// <copyright file="ErrorResponseFields.cs" company="Geo.NET"> | ||
// Copyright (c) Geo.NET. | ||
// Licensed under the MIT license. See the LICENSE file in the solution root for full license information. | ||
// </copyright> | ||
|
||
namespace Geo.Core | ||
{ | ||
/// <summary> | ||
/// The fields added to a response exception in cases of failure. | ||
/// </summary> | ||
internal static class ErrorResponseFields | ||
{ | ||
/// <summary> | ||
/// The uri of the endpoint called. | ||
/// </summary> | ||
public const string Uri = "uri"; | ||
|
||
/// <summary> | ||
/// The body of the request sent to the endpoint. | ||
/// </summary> | ||
public const string RequestBody = "requestBody"; | ||
|
||
/// <summary> | ||
/// The status code of the response from the endpoint. | ||
/// </summary> | ||
public const string ResponseStatusCode = "responseStatusCode"; | ||
|
||
/// <summary> | ||
/// The body of the response from the endpoint. | ||
/// </summary> | ||
public const string ResponseBody = "responseBody"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters