Class AwsLambdaRuntimeApiError
java.lang.Object
io.micronaut.function.aws.runtime.AwsLambdaRuntimeApiError
AWS Lambda Runtime Interface Error.
It is used to communicate errors thrown during function execution.
- Since:
- 2.0.0
- Author:
- sdelamo
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.AwsLambdaRuntimeApiError
(String errorMessage, String errorType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setErrorMessage
(String errorMessage) void
setErrorType
(String errorType) toString()
-
Constructor Details
-
AwsLambdaRuntimeApiError
public AwsLambdaRuntimeApiError()Constructor. -
AwsLambdaRuntimeApiError
- Parameters:
errorMessage
- Error MessageerrorType
- Error Type
-
-
Method Details