-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/external_api_integration' into e…
…xternal_api
- Loading branch information
Showing
8 changed files
with
127 additions
and
20 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
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
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
10 changes: 10 additions & 0 deletions
10
...ftParcel.Services.Orders.Application/Exceptions/BaronomatApiServiceConnectionException.cs
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,10 @@ | ||
namespace SwiftParcel.Services.Orders.Application.Exceptions | ||
{ | ||
public class BaronomatApiServiceConnectionException: AppException | ||
{ | ||
public override string Code { get; } = "baronomat_api_service_connection_error"; | ||
public BaronomatApiServiceConnectionException(): base("Baronomat api service connection error.") | ||
{ | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...cation/SwiftParcel.Services.Orders.Application/Exceptions/BaronomatApiServiceException.cs
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,12 @@ | ||
namespace SwiftParcel.Services.Orders.Application.Exceptions | ||
{ | ||
public class BaronomatApiServiceException: AppException | ||
{ | ||
public override string Code { get; } = "baronomat_api_service_error"; | ||
public string ReasonPhrase { get; } | ||
public BaronomatApiServiceException(string reasonPhrase): base($"Baronomat api service error, reason: {reasonPhrase}.") | ||
{ | ||
ReasonPhrase = reasonPhrase; | ||
} | ||
} | ||
} |