https://kotlinlang.org logo
#announcements
Title
# announcements
m

myanmarking

10/04/2017, 12:33 PM
guys i need an advice, i know its not kotlin specific but maybe some1 can help. Is there any way to wrap a retrofit error response into an exception?. The errors response json is like this:
Copy code
{
  "code": "K_PRO_BE_ERR_REGIST_INVAL_USER_AGE",
  "message": "Age requirement was not respected."
}
stackoverflow 4
f

fitzoh

10/04/2017, 12:58 PM
4 Views