Show / Hide Table of Contents

Interface ICosmosDbErrorHandler

Implementations of this handle Cosmos errors at the Function level.

Namespace: FunctionMonkey.Commanding.Cosmos.Abstractions
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface ICosmosDbErrorHandler

Methods

| Improve this Doc View Source

HandleError(Exception, Document)

Handle a error processing a Cosmos document. To abort processing of the current batch return false.

Declaration
Task<bool> HandleError(Exception ex, Document document)
Parameters
Type Name Description
Exception ex

The exception that caused the error

Document document

The document that caused the error

Returns
Type Description
Task<System.Boolean>

True to continue processing, false to stop processing of the batch

Extension Methods

OpenApiFluentValidationHelper.IsNumeric(Object)
OpenApiFluentValidationHelper.NumericToInt(Object)
OpenApiFluentValidationHelper.NumericToDouble(Object)
OpenApiFluentValidationHelper.NumericToDecimal(Object)
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall