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(@Nullable String errorMessage, @Nullable String errorType) -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable StringvoidsetErrorMessage(@Nullable String errorMessage) voidsetErrorType(@Nullable String errorType) toString()
-
Constructor Details
-
AwsLambdaRuntimeApiError
public AwsLambdaRuntimeApiError()Constructor. -
AwsLambdaRuntimeApiError
-
-
Method Details
-
getErrorMessage
- Returns:
- Error Message
-
setErrorMessage
- Parameters:
errorMessage- Error message
-
getErrorType
- Returns:
- Error Type
-
setErrorType
- Parameters:
errorType- Error Type
-
toString
-