Skip to content

Commit 5509923

Browse files
authored
feat(opensearchservice): throw ValidationErrors instead of untyped errors (#34432)
### Issue Relates to #32569 ### Reason for this change untyped Errors are not recommended ### Description of changes `ValidationError`s everywhere ### Describe any new or updated permissions being added None ### Description of how you validated changes Existing tests. Exemptions granted as this is a refactor of existing code. ### 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*
1 parent 10756c1 commit 5509923

File tree

2 files changed

+60
-60
lines changed

2 files changed

+60
-60
lines changed

packages/aws-cdk-lib/.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const noThrowDefaultErrorNotYetSupported = [
2727
'aws-lambda-destinations',
2828
'aws-lambda-event-sources',
2929
'aws-lambda-nodejs',
30-
'aws-opensearchservice',
3130
'aws-scheduler-targets',
3231
'aws-scheduler',
3332
'aws-secretsmanager',

0 commit comments

Comments
 (0)