primes-network / eosdart

EOS API Client in Dart Language
MIT License
32 stars 28 forks source link

Add http onError() function for error handling #41

Open appendixisu opened 3 years ago

appendixisu commented 3 years ago

In my case, I could not get the network error message when the phone is in airplane mode.

If then onError is added to the post function, I can use then onError on outside to get error messages.

截圖 2021-03-17 下午3 33 48

截圖 2021-03-17 下午3 39 11