Class LambdaRetriableException
The LambdaRetriableException class represents a runtime error that can be retried. If the Lambda function allows retries, this exception will be logged as having a Warning severity rather than an Error severity. See LambdaLogLevel for a description of the severity levels.
Implements
Inherited Members
Namespace: LambdaSharp.Exceptions
Assembly: LambdaSharp.dll
Syntax
public class LambdaRetriableException : ALambdaException, ISerializable, ILambdaExceptionFingerprinter
Constructors
LambdaRetriableException(Exception, String, Object[])
Initializes a LambdaRetriableException instance with the specified exception message and inner exception.
Declaration
public LambdaRetriableException(Exception innerException, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The inner exception instance. |
System.String | format | The exception message. |
System.Object[] | args | Optional arguments for the exception message. |
LambdaRetriableException(String, Object[])
Initializes a LambdaRetriableException instance with the specified exception message and arguments.
Declaration
public LambdaRetriableException(string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | The exception message. |
System.Object[] | args | Optional arguments for the exception message. |