forked from kokosing/trino-rest
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
APIs return errors as JSON objects, usually with an error code and a message. Retrofit2 that we use for making API calls doesn't deserialize these but they're available in the response.errorBody().
Add an error model and a method to deserialize errors so the message can be made visible to the user.
Refs:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers