edgecase / spotbox

Official jukebox of the EdgeCase lab
Other
13 stars 1 forks source link

Display errors / statuses to user #29

Closed agrieser closed 12 years ago

agrieser commented 12 years ago

Sometimes the spotify api returns errors (especially when searching). We need some way to display / indicate that an error has occurred in the UI. I think we could use something similar to what interchange does.

agrieser commented 12 years ago

Api errors are now handled on the server side, and are sent back to the user. Now we need to display them.

tonywok commented 12 years ago

Added a way to display errors to the user. Let me know what you think or how it can be improved.

Reopen if you don't like the fix.

agrieser commented 12 years ago

I simplified the interface for creating the messages, and moved those methods to the Spotbox namespace.

tonywok commented 12 years ago

thumbs up.