Skip to content
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

Add X::Temporal::OutOfRange #5272

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Conversation

Leont
Copy link
Contributor

@Leont Leont commented Jun 5, 2023

X::Temporal is documented as «A common exception type for all errors related to DateTime or Date», however when an invalid date is given an X::OutOfRange is thrown instead. This adds a X::Temporal::OutOfRange that is both, to satisfy the documented requirements.

This fixes #3847

X::Temporal is documented as «A common exception type for all errors related to DateTime or Date», however when an invalid date is given an X::OutOfRange is thrown instead. This adds a X::Temporal::OutOfRange that is both, to satisfy the documented requirements.
@lizmat lizmat merged commit 83cc6e7 into rakudo:main Jun 13, 2023
5 of 11 checks passed
@lizmat
Copy link
Contributor

lizmat commented Jun 13, 2023

Thanks!

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.

Invalid date throws non-X::Temporal
2 participants