kotlinx.serialization
error message exposed in /wallet-api/auth/login
#72
Labels
kotlinx.serialization
error message exposed in /wallet-api/auth/login
#72
Version tested: v1.0.2401181053-SNAPSHOT
If the
type
field is omitted or misspelled, the returning error message is an internalkotlinx.serialization
exception.Wouldn't it be better to encapsulate it in a more readable, domain-specific message, as is the case with the handling of the
email
andpassword
fields?Error handling of
type
field with a difficult-to-debug messageRequest
Response
Error handling of the
email
field, although imperfect, is more readable than the previous caseRequest
Response
The text was updated successfully, but these errors were encountered: