Package io.quarkus.amazon.lambda.runtime
Class LambdaBuildTimeConfig
- java.lang.Object
-
- io.quarkus.amazon.lambda.runtime.LambdaBuildTimeConfig
-
@ConfigRoot(name="lambda", phase=BUILD_AND_RUN_TIME_FIXED) public class LambdaBuildTimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<List<Class<?>>>
expectedExceptions
The exception classes expected to be thrown by the handler.
-
Constructor Summary
Constructors Constructor Description LambdaBuildTimeConfig()
-
-
-
Field Detail
-
expectedExceptions
@ConfigItem public Optional<List<Class<?>>> expectedExceptions
The exception classes expected to be thrown by the handler. Any exception thrown by the handler that is an instance of a class in this list will not be logged, but will otherwise be handled normally by the lambda runtime. This is useful for avoiding unnecessary stack traces while preserving the ability to log unexpected exceptions.
-
-