You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using this library for some time, and it really helped me so much throughout this time.
I have a question, can we dynamically read the JSON response?
For example, the success API call will return an array, thus I am using responseArray function. However, if there is something wrong with the request, the API will return an object, with errorCode and errorMessage key. For now, since I don't know how to cater this condition, I can only hardcode the error message.
Is there any function to solve this issue? Thanks!
The text was updated successfully, but these errors were encountered:
Hi, great library so far!
I have been using this library for some time, and it really helped me so much throughout this time.
I have a question, can we dynamically read the JSON response?
For example, the success API call will return an array, thus I am using responseArray function. However, if there is something wrong with the request, the API will return an object, with errorCode and errorMessage key. For now, since I don't know how to cater this condition, I can only hardcode the error message.
Is there any function to solve this issue? Thanks!
The text was updated successfully, but these errors were encountered: