We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5f624a commit 690e8c6Copy full SHA for 690e8c6
packages/cloudfront-signer/src/sign.ts
@@ -370,7 +370,7 @@ class CloudfrontSignBuilder {
370
private parseDateWindow(expiration: string | number | Date, start?: string | number | Date): PolicyDates {
371
const dateLessThan = this.parseDate(expiration);
372
if (!dateLessThan) {
373
- throw new Error("dateLessThan is invalid. Ensure the date string is compatible with the Date constructor.");
+ throw new Error("dateLessThan is invalid. Ensure the date value is compatible with the Date constructor.");
374
}
375
return {
376
dateLessThan,
0 commit comments