Closed
Description
Passing a string that is not a date (e.g. "abc") does not yield a SerializationException
. Instead it will yield this exception:
kotlinx.datetime.DateTimeFormatException: java.time.format.DateTimeParseException: Text 'abc' could not be parsed at index 0
In my opinion this excpetion should be wrapped in a SerializationException
to be able to have generic error handling if deserialization fails.
Metadata
Metadata
Assignees
Labels
No labels