ulventech / dynamicdelta

Collection of common dynamic components for DynamicDelta.com
https://www.dynamicdelta.com/#/
0 stars 0 forks source link

Display default or optional customisable error message on API error #2

Open thedanielforum opened 6 years ago

thedanielforum commented 6 years ago

If the API returns a error the component should display a default error message, or a user customised one.

hairizuanbinnoorazman commented 6 years ago

Question to be raised here: If API failed, wouldn't it mean that the component is unable to connect to received the required data?

thedanielforum commented 6 years ago

Correct if the api call fails the component would not be able to load data.