cloudformation-cli-java-plugin icon indicating copy to clipboard operation
cloudformation-cli-java-plugin copied to clipboard

add reason to CfnNotStabilizedException

Open cortez7 opened this issue 4 years ago • 0 comments

The current stabilization error message "Resource of type '%s' with identifier '%s' did not stabilize." lacks a reason so users may not be able to determine the cause of the stabilization error.

Changes

  • add reason argument to CfnNotStabilizedException constructors with documentation
  • update the corresponding NOT_STABILIZED exception message
  • deprecate the old constructors

Testing

  • added unit tests for new constructors

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

cortez7 avatar Apr 06 '21 01:04 cortez7