zesty-io / accounts-ui

Zesty.io account management application
https://accounts.zesty.io
112 stars 14 forks source link

Update/error handling #110

Closed grantglidewell closed 5 years ago

grantglidewell commented 5 years ago

Previous behavior

errors were handled inconsistently and ineffectively throughout the app

Proposed behavior

http:400 errors are reported to the initializing function by rejecting the promise, and the catch at the point initial call can handle the user notification in a way that is contextually appropriate.