FACN3 / swearUrban

an autocomplete search app
0 stars 0 forks source link

Error first callback #34

Open Karyum opened 7 years ago

Karyum commented 7 years ago

This callback should hvae error as it's first argument, more than that it should have error handling for that error like showing a message on page that something went wrong. so in case of an error the user can know what happend and why the app is not working

Karyum commented 7 years ago

this is an example of a good error handling you could do the same in case of an error