Show / Hide Table of Contents

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
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall