You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(toolkit): all error messages must have a code (#33317)
### Reason for this change
We want errors to always have a defined non-default message code. This way an integrator can target errors individually.
### Description of changes
Change the helper method for error messages to require a code.
### Describe any new or updated permissions being added
n/a
### Description of how you validated changes
n/a this is a refactor, enforcing a new rule at compile time
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
0 commit comments