Files
gerrit/polygerrit-ui/app
Viktar Donich d6be68abd7 Report network failures to plugins
Usage:

plugin.get(url).then(doStuff).catch(onError);
plugin.post(url, payload).then(doStuff).catch(onError);

onError will receive an error string, that is one of the following:
- error message from Gerrit REST API, eg. "Cherry pick failed: ..."
- error message from Fetch API, eg "TypeError: Failed to fetch"
- HTTP failure code, eg "404"

Bug: Issue 6595
Change-Id: I1a598fe2c249c8e87bc575359d51ad2e15431356
2017-06-28 15:16:04 -07:00
..
2017-06-27 10:43:49 -07:00
2017-06-21 22:47:38 +00:00
2017-06-20 15:37:02 -07:00
2017-05-22 18:09:35 +00:00