Skip to content

SES: Fix AlreadyExists and DoesNotExist error messages #8575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

nik-localstack
Copy link
Contributor

@nik-localstack nik-localstack commented Feb 7, 2025

CreateReceiptRule and CreateReceiptRuleSet should raise AlreadyExists error according to the docs.

Also, updating messages for RuleDoesNotExist and RuleSetDoesNotExist to match what AWS returns.

Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.65%. Comparing base (98e2730) to head (c9fec84).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8575      +/-   ##
==========================================
- Coverage   92.65%   92.65%   -0.01%     
==========================================
  Files        1231     1231              
  Lines      106851   106848       -3     
==========================================
- Hits        99005    99002       -3     
  Misses       7846     7846              
Flag Coverage Δ
servertests 28.13% <14.28%> (-0.01%) ⬇️
unittests 92.63% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nik-localstack nik-localstack force-pushed the ses/udate-exception-messages branch from 9d7ff53 to c9fec84 Compare February 7, 2025 15:46
@nik-localstack nik-localstack marked this pull request as ready for review February 7, 2025 16:10
@bblommers bblommers added this to the 5.0.29 milestone Feb 7, 2025
@bblommers bblommers merged commit f35194d into getmoto:master Feb 7, 2025
56 checks passed
@bblommers bblommers modified the milestones: 5.0.29, 5.1.0 Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants