Class AwsErrors.AwsCause

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
codes.grow.packages.cloudwatchlogs.AwsErrors.AwsCause
All Implemented Interfaces:
Serializable
Enclosing class:
AwsErrors

public static final class AwsErrors.AwsCause extends RuntimeException
Redacted copy of an AWS SDK exception kept as the cause of a mapped exception: class name and AWS error code, the message with known secrets removed, and the original stack trace.
See Also:
  • Method Details

    • awsCode

      public Optional<String> awsCode()
      Returns the AWS error code.
      Returns:
      the code, or empty