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
### Reason for this change
As part of #32324 we are enforcing stricter rules on thrown errors.
### Description of changes
Enforce the `no-throw-literal` eslint rule.
Fix the one instance that wasn't compliant yet.
### Description of how you validated changes
Manual testing. Only changed code is in supporting CLI tool.
### 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