Skip to content

Commit 89cb655

Browse files
authored
Merge pull request #3213 from ksss/date-error
Add Date::Error
2 parents a310d44 + 01d28ff commit 89cb655

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎stdlib/date/0/date.rbs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,3 +1574,9 @@ Date::JULIAN: Integer
15741574
# An array of strings of full month names in English. The first element is nil.
15751575
#
15761576
Date::MONTHNAMES: Array[String?]
1577+
1578+
# <!-- rdoc-file=ext/date/date_core.c -->
1579+
# Exception for invalid date/time
1580+
#
1581+
class Date::Error < ArgumentError
1582+
end

0 commit comments

Comments
 (0)