882c9d64e4
Create a class that inherits the Javascript Error class to use it when throwing errors on the TypeScript client when the ok property of the Fetch API Response object is false, which means that the server responded with a status code less than 200 or greater than 299. The APIError class contains apart of the message, the response status code which may be useful for the caller to decide what to do, for example, it may decide to retry the call on certain response status errors. Change-Id: Ic48466b40cbf134a27d5c92a4af9f93232e84fca |
||
---|---|---|
.. | ||
multinode | ||
satellite | ||
storagenode |