Delegate HttpDispatchErrorHandler
A delegate used for custom exception raising when HTTP calls fail
Namespace: AzureFromTheTrenches.Commanding.Http
Assembly: AzureFromTheTrenches.Commanding.Http.dll
Syntax
public delegate Exception HttpDispatchErrorHandler(HttpStatusCode statusCode, Uri requestUri, ICommand command);
Parameters
Type | Name | Description |
---|---|---|
HttpStatusCode | statusCode | The (non-success) HTTP status code |
Uri | requestUri | The URI that was called |
ICommand | command | The command that triggered the error |
Returns
Type | Description |
---|---|
Exception |