Uses of Enum Class
codes.grow.packages.cloudwatchlogs.core.ErrorCode
Packages that use ErrorCode
Package
Description
Grow Codes SDK for Amazon CloudWatch Logs.
-
Uses of ErrorCode in codes.grow.packages.cloudwatchlogs
Fields in codes.grow.packages.cloudwatchlogs with type parameters of type ErrorCodeModifier and TypeFieldDescriptionAwsErrors.AWS_ERROR_CODESAWS error codes and the Grow code they map to. -
Uses of ErrorCode in codes.grow.packages.cloudwatchlogs.core
Methods in codes.grow.packages.cloudwatchlogs.core that return ErrorCodeModifier and TypeMethodDescriptionCloudWatchLogsException.code()Returns the canonical error code.static ErrorCodeErrorCode.forStatus(int status) Maps an HTTP status to its canonical code.static ErrorCodeReturns the enum constant of this class with the specified name.static ErrorCode[]ErrorCode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in codes.grow.packages.cloudwatchlogs.core that return types with arguments of type ErrorCodeModifier and TypeMethodDescriptionReturns the code of an SDK exception.Methods in codes.grow.packages.cloudwatchlogs.core with parameters of type ErrorCodeModifier and TypeMethodDescriptionstatic CloudWatchLogsExceptionCloudWatchLogsException.of(ErrorCode code, String message, Integer httpStatus, String requestId, boolean retryable, Duration retryAfter, Throwable cause) LikeCloudWatchLogsException.of(ErrorCode, String, Integer, String, Duration, Throwable)with an explicitretryableflag instead of the default of the code.static CloudWatchLogsExceptionCloudWatchLogsException.of(ErrorCode code, String message, Integer httpStatus, String requestId, Duration retryAfter, Throwable cause) Creates the subclass that matchescode.Constructors in codes.grow.packages.cloudwatchlogs.core with parameters of type ErrorCode