mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
The "Value at '<path>' failed to satisfy constraint: Member must not be null" violation was still written by hand in 26 places across the SES services and controllers. They now call SmithyValidationErrors.notNullWithoutValue(path), keeping each site's badRequest or validationError factory. The length checks on websiteURL, additionalContactEmailAddresses and certificateArn, which tested a lower and an upper bound side by side, now go through SmithyValidationErrors.sizeOutOfRange. The message text is unchanged, and the private wrappers stay because their enum and other constraint callers still use them.