Adding error numbers to DateTime objects when the DateTime.invalid == true #1458
KamilLazarczyk1
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think that adding error numbers to DateTime object would be beneficial for developers when trying to handle errors in their applications. Right now there isn't a feature like that and error handling is problematic, so with error numbers associated with specific errors, a simple switch case instruction would be enough to handle errors.
Beta Was this translation helpful? Give feedback.
All reactions