Show / Hide Table of Contents

Class LambdaAbortException

The LambdaAbortException class is used to exit a Lambda function with a processing error, but without reporting the error to the log aggregator. This behavior is useful for intentionally triggering the native retry logic of the AWS Lambda runtime without causing false-positive errors to appear in the logs.

Inheritance
System.Object
System.Exception
ALambdaException
LambdaAbortException
Implements
ILambdaExceptionFingerprinter
Inherited Members
ALambdaException.ILambdaExceptionFingerprinter.FingerprintValue
Namespace: LambdaSharp.Exceptions
Assembly: LambdaSharp.Logging.dll
Syntax
public class LambdaAbortException : ALambdaException, ISerializable, ILambdaExceptionFingerprinter

Constructors

LambdaAbortException(String, Object[])

Initializes a LambdaAbortException instance with the specified exception message.

Declaration
public LambdaAbortException(string format, params object[] args)
Parameters
Type Name Description
System.String format

The exception message.

System.Object[] args

Optional arguments for the exception message.

Implements

ILambdaExceptionFingerprinter
In This Article
Back to top Generated by DocFX