The ALambdaException abstract class is the recommended base class for all runtime exceptions. It implements the FingerprintValue property to create a unique fingerprint from the exception type and the unformatted exception message. This allows the generated LambdaErrorReport instances to be grouped together by a log aggregator.
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.
The LambdaConfigBadValueException exception is thrown when a configuration value fails to validate.
The LambdaConfigIllegalKeyException exception is thrown when an invalid configuration key is used.
The LambdaConfigMissingKeyException exception is thrown when a configuration key cannot be found and no fallback is provided.
The LambdaConfigUnexpectedException exception is thrown when an exception occurs inside a LambdaConfig instance operation and the exception is not derived from ALambdaConfigException. In that case LambdaConfigUnexpectedException exception is used to wrap the unexpected exception.
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.
The ILambdaExceptionFingerprinter interface is used to indicate that an exception type has custom fingerprinting logic. The exception fingerprint is used by the LambdaErrorReportGenerator instance to allow a log aggregator to group together related errors.